lkml.org 
[lkml]   [2002]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][TRIVIAL] cdrom.c is the only file to include asm/fcntl.h
Hi Linus,

drivers/cdrom/cdrom.c is the only file (apart from include/linux/fcntl.h)
that includes asm/fcntl.h. This changes that and should have no affect.

I need to do this before I consolidate the asm/fcntl.h files into
linux/fcntl.h (coming next - again).

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.5.34/drivers/cdrom/cdrom.c 2.5.34-fcntl.1/drivers/cdrom/cdrom.c
--- 2.5.34/drivers/cdrom/cdrom.c 2002-09-10 11:52:23.000000000 +1000
+++ 2.5.34-fcntl.1/drivers/cdrom/cdrom.c 2002-09-10 12:15:59.000000000 +1000
@@ -266,8 +266,8 @@
#include <linux/proc_fs.h>
#include <linux/blkpg.h>
#include <linux/init.h>
+#include <linux/fcntl.h>

-#include <asm/fcntl.h>
#include <asm/uaccess.h>

/* used to tell the module to turn on full debugging messages */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.198 / U:5.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site