Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b73e96878d5d57605aeea89068c8dacd568f5e7e
Commit:     b73e96878d5d57605aeea89068c8dacd568f5e7e
Parent:     0741a951e8489ef2889d9e3eecf33bb29b779dd0
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Wed Nov 21 15:07:11 2007 -0800
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 15:04:21 2008 -0800

    PCI: always export pci_scan_single_device
    
    This patch fixes the following build error with CONFIG_HOTPLUG=n:
    
      MODPOST 2137 modules
    ERROR: "pci_scan_single_device" [drivers/edac/i82875p_edac.ko] undefined!
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Acked-by: Doug Thompson <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/pci/probe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index ceaeac1..d8e32e1 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -971,6 +971,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.
@@ -1158,7 +1159,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
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to