public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] always export pci_scan_single_device
@ 2007-11-09  6:02 Adrian Bunk
  2007-11-09 15:26 ` Doug Thompson
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-11-09  6:02 UTC (permalink / raw)
  To: gregkh, dougthompson; +Cc: linux-kernel, linux-pci, bluesmoke-devel

This patch fixes the following build error with CONFIG_HOTPLUG=n:

<--  snip  -->

...
  MODPOST 2137 modules
ERROR: "pci_scan_single_device" [drivers/edac/i82875p_edac.ko] undefined!
make[2]: *** [__modpost] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/pci/probe.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

f80ae6568224bd5e4d2387ec162d37c8e7fd545a 
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 463a5a9..de33a02 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -1012,6 +1012,7 @@ struct pci_dev *pci_scan_single_device(struct pci_bus *bus, int devfn)
 
 	return dev;
 }
+EXPORT_SYMBOL(pci_scan_single_device);
 
 /**
  * pci_scan_slot - scan a PCI slot on a bus for devices.
@@ -1200,7 +1201,6 @@ EXPORT_SYMBOL(pci_add_new_bus);
 EXPORT_SYMBOL(pci_do_scan_bus);
 EXPORT_SYMBOL(pci_scan_slot);
 EXPORT_SYMBOL(pci_scan_bridge);
-EXPORT_SYMBOL(pci_scan_single_device);
 EXPORT_SYMBOL_GPL(pci_scan_child_bus);
 #endif
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-09 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09  6:02 [2.6 patch] always export pci_scan_single_device Adrian Bunk
2007-11-09 15:26 ` Doug Thompson

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