patch-2.1.90 linux/drivers/misc/parport_share.c

Next file: linux/drivers/net/Config.in
Previous file: linux/drivers/misc/parport_init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.89/linux/drivers/misc/parport_share.c linux/drivers/misc/parport_share.c
@@ -28,8 +28,8 @@
 
 #include <asm/spinlock.h>
 
-#ifdef CONFIG_KERNELD
-#include <linux/kerneld.h>
+#ifdef CONFIG_KMOD
+#include <linux/kmod.h>
 #endif
 
 #undef PARPORT_PARANOID
@@ -44,14 +44,14 @@
 /* Return a list of all the ports we know about. */
 struct parport *parport_enumerate(void)
 {
-#ifdef CONFIG_KERNELD
+#ifdef CONFIG_KMOD
 	if (portlist == NULL) {
 		request_module("parport_lowlevel");
 #ifdef CONFIG_PNP_PARPORT_MODULE
 		request_module("parport_probe");
 #endif /* CONFIG_PNP_PARPORT_MODULE */
 	}
-#endif /* CONFIG_KERNELD */
+#endif /* CONFIG_KMOD */
 	return portlist;
 }
 

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