patch-2.1.118 linux/drivers/cdrom/cdrom.c

Next file: linux/drivers/cdrom/gscd.c
Previous file: linux/drivers/cdrom/aztcd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.117/linux/drivers/cdrom/cdrom.c linux/drivers/cdrom/cdrom.c
@@ -184,6 +184,7 @@
 	cdrom_ioctl,                    /* ioctl */
 	NULL,                           /* mmap */
 	cdrom_open,                     /* open */
+	NULL,				/* flush */
 	cdrom_release,                  /* release */
 	NULL,                           /* fsync */
 	NULL,                           /* fasync */
@@ -1081,10 +1082,12 @@
 	initialized = 1;
 }
 
+#ifdef MODULE
 static void cdrom_sysctl_unregister(void)
 {
 	unregister_sysctl_table(cdrom_sysctl_header);
 }
+#endif /* endif MODULE */
 #endif /* endif CONFIG_SYSCTL */
 
 #ifdef MODULE

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