[lkml]   [2002]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
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).

Stephen Rothwell

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
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:28    [W:0.032 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site