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

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

diff -u --recursive --new-file v2.1.55/linux/drivers/misc/parport_share.c linux/drivers/misc/parport_share.c
@@ -33,9 +33,13 @@
 struct parport *parport_enumerate(void)
 {
 #ifdef CONFIG_KERNELD
-	if (portlist == NULL)
+	if (portlist == NULL) {
 		request_module("parport_lowlevel");
-#endif
+#ifdef CONFIG_PNP_PARPORT_MODULE
+		request_module("parport_probe");
+#endif /* CONFIG_PNP_PARPORT_MODULE */
+	}
+#endif /* CONFIG_KERNELD */
 	return portlist;
 }
 

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