[TRIVIAL] cdrom.c is the only file to include asm/fcntl.h

[TRIVIAL] cdrom.c is the only file to include asm/fcntl.h

Post by Stephen Rothwel » Wed, 11 Sep 2002 11:30:07



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,

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

 #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

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Consolidate include/asm/fcntl.h into include/linux/fcntl.h

Hi All,

This patch consolidates as much as possible of the fcntl.h files into
include/linux/fcntl.h.  It builds fine on i386 but may have broken some
other architectures (but should not have) - I have been as careful as
I can.

Patch available at http://www.canb.auug.org.au/~sfr/31-fcntl.1.diff.gz

Comments welcome.
--
Cheers,

http://www.canb.auug.org.au/~sfr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. How to port C++ from HP 10.2 to AIX using xlc 3.x

3. [trivial] include <asm-generic/topology.h>

4. Linux, Samba and Windows

5. One more time: /usr/include/linux, /usr/include/asm

6. need help to get scsi controller card working

7. #include <asm/bitops.h> -> #include <linux/bitops.h>

8. Getting gcc 2.7.2 set up on 2.5.1(x86)??

9. Need help with <asm/io.h> include file

10. [TRIVIAL][2.5.67] Compile fix to file include/linux/inet.h

11. [2.5.41] create asm-generic/fcntl.h

12. create asm-generic/fcntl.h

13. UNIX include files = linux include files?