Skip to contentSkip to conversation

2.4,2.5: fix pci compile without procfs support

PATCH New Eric Sandeen 1 participant 1 message Mar 6, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4,2.5: fix pci compile without procfs support

pci_proc_* is only there if CONFIG_PROC_FS is defined...

(this should apply to both 2.4 and 2.5 trees)

-Eric

drivers/pci/pci.c renamed from usr/tmp/TmpDir.9804-0/linux/drivers/pci/pci.c_1.48 +2 -0
@@ -1996,11 +1996,13 @@
 EXPORT_SYMBOL(pci_add_new_bus);
 EXPORT_SYMBOL(pci_do_scan_bus);
 EXPORT_SYMBOL(pci_scan_slot);
+#ifdef CONFIG_PROC_FS
 EXPORT_SYMBOL(pci_proc_attach_device);
 EXPORT_SYMBOL(pci_proc_detach_device);
 EXPORT_SYMBOL(pci_proc_attach_bus);
 EXPORT_SYMBOL(pci_proc_detach_bus);
 #endif
+#endif
 
 EXPORT_SYMBOL(pci_set_power_state);
 EXPORT_SYMBOL(pci_save_state);
Signature · 2 lines
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
[email protected]   SGI, Inc.