missing include in drivers/cdrom/cdrom.c (kernel 2.3.40)

Jesper Juhl jesper.juhl en dif.dk
Sab Ene 29 00:21:10 CST 2000


Hi,

I noticed that "drivers/cdrom/cdrom.c" complains about an implicit
declaration of register_disk() - which makes sense as it does not
#include <linux/blkdev.h> . The patch below fix this tiny problem (it's
against 2.3.40).


--- linux-2.3.40/drivers/cdrom/cdrom.c Wed Jan 19 03:54:21 2000
+++ linux-2.3.40jj/drivers/cdrom/cdrom.c Sat Jan 29 00:19:05 2000
@@ -227,6 +227,7 @@
 #include <linux/sysctl.h>
 #include <linux/proc_fs.h>
 #include <linux/init.h>
+#include <linux/blkdev.h>
 #include <asm/fcntl.h>
 #include <asm/segment.h>
 #include <asm/uaccess.h>



Best regards
Jesper Juhl  -  jesper.juhl en dif.dk



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda