patch-2.3.40 linux/drivers/pci/pcisyms.c
Next file: linux/drivers/pci/setup-bus.c
Previous file: linux/drivers/pci/pci.ids
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Wed Jan 12 09:21:23 2000
- Orig file:
v2.3.39/linux/drivers/pci/pcisyms.c
- Orig date:
Tue Jan 11 22:31:40 2000
diff -u --recursive --new-file v2.3.39/linux/drivers/pci/pcisyms.c linux/drivers/pci/pcisyms.c
@@ -6,6 +6,7 @@
* Copyright 1998 Martin Mares
*/
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <asm/dma.h> /* isa_dma_bridge_buggy */
@@ -23,14 +24,16 @@
EXPORT_SYMBOL(pci_find_device);
EXPORT_SYMBOL(pci_find_slot);
EXPORT_SYMBOL(pci_set_master);
-EXPORT_SYMBOL(pci_simple_probe);
EXPORT_SYMBOL(pci_set_power_state);
EXPORT_SYMBOL(pci_assign_resource);
+EXPORT_SYMBOL(pci_register_driver);
+EXPORT_SYMBOL(pci_unregister_driver);
+
+#ifdef CONFIG_HOTPLUG
EXPORT_SYMBOL(pci_setup_device);
EXPORT_SYMBOL(pci_insert_device);
EXPORT_SYMBOL(pci_remove_device);
-EXPORT_SYMBOL(pci_register_driver);
-EXPORT_SYMBOL(pci_unregister_driver);
+#endif
/* Obsolete functions */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)