patch-2.1.9 linux/kernel/ksyms.c

Next file: linux/kernel/time.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/kernel/ksyms.c linux/kernel/ksyms.c
@@ -15,6 +15,8 @@
 #include <linux/smp.h>
 #include <linux/fs.h>
 #include <linux/blkdev.h>
+#include <linux/cdrom.h>
+#include <linux/ucdrom.h>
 #include <linux/sched.h>
 #include <linux/kernel_stat.h>
 #include <linux/mm.h>
@@ -171,6 +173,14 @@
 	X(tty_unregister_driver),
 	X(tty_std_termios),
 
+#if defined(CONFIG_BLK_DEV_IDECD) || \
+    defined(CONFIG_BLK_DEV_SR) || \
+    defined(CONFIG_CM206)
+       X(register_cdrom),
+       X(unregister_cdrom),
+       X(cdrom_fops),
+#endif
+ 
 	/* block device driver support */
 	X(block_read),
 	X(block_write),

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov