patch-2.4.0-test8 linux/drivers/usb/usb-ohci.c
Next file: linux/drivers/usb/usb-uhci.c
Previous file: linux/drivers/usb/usb-core.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Thu Sep 7 08:39:00 2000
- Orig file:
v2.4.0-test7/linux/drivers/usb/usb-ohci.c
- Orig date:
Wed Aug 23 18:36:38 2000
diff -u --recursive --new-file v2.4.0-test7/linux/drivers/usb/usb-ohci.c linux/drivers/usb/usb-ohci.c
@@ -2375,7 +2375,7 @@
/*-------------------------------------------------------------------------*/
-int __init ohci_hcd_init (void)
+static int __init ohci_hcd_init (void)
{
int ret = pci_module_init (&ohci_pci_driver);
@@ -2386,11 +2386,10 @@
return ret;
}
-#ifdef MODULE
/*-------------------------------------------------------------------------*/
-void __exit ohci_hcd_cleanup (void)
+static void __exit ohci_hcd_cleanup (void)
{
#ifdef CONFIG_PMAC_PBOOK
pmu_unregister_sleep_notifier (&ohci_sleep_notifier);
@@ -2401,7 +2400,6 @@
module_init (ohci_hcd_init);
module_exit (ohci_hcd_cleanup);
-#endif /* MODULE */
MODULE_AUTHOR ("Roman Weissgaerber <weissg@vienna.at>");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)