mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.4,2.5: fix pci compile without procfs support
@ 2002-03-06 17:41 Eric Sandeen
  0 siblings, 0 replies; only message in thread
From: Eric Sandeen @ 2002-03-06 17:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: mj, torvalds, marcelo

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

(this should apply to both 2.4 and 2.5 trees)

-Eric

--- /usr/tmp/TmpDir.9804-0/linux/drivers/pci/pci.c_1.48	Wed Mar  6 11:32:23 2002
+++ linux/drivers/pci/pci.c	Tue Mar  5 00:04:33 2002
@@ -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);

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@sgi.com   SGI, Inc.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-06 17:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-06 17:41 [PATCH] 2.4,2.5: fix pci compile without procfs support Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®