OpenCloudOS-Kernel/drivers/pci
Sam Ravnborg 4105717bc9 PCI: fix section mismatch warnings referring to pci_do_scan_bus
Fix following warnings:
WARNING: o-x86_64/drivers/pci/built-in.o(.text+0xb054): Section mismatch in reference from the function cpci_configure_slot() to the function .devinit.text:pci_do_scan_bus()
WARNING: o-x86_64/drivers/pci/built-in.o(.text+0x153ab): Section mismatch in reference from the function shpchp_configure_device() to the function .devinit.text:pci_do_scan_bus()
WARNING: o-x86_64/drivers/pci/built-in.o(__ksymtab+0xc0): Section mismatch in reference from the variable __ksymtab_pci_do_scan_bus to the function .devinit.text:pci_do_scan_bus()

PCI hotplug were the only user of pci_do_scan_bus()
so moving this function to a separate file that is build
only when we enable CONFIG_HOTPLUG_PCI.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-02-02 15:04:30 -08:00
..
hotplug PCI: Fix fakephp deadlock 2008-02-01 15:04:30 -08:00
pcie Revert "PCI: PCIE ASPM support" 2008-02-02 11:32:01 -08:00
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
Kconfig PCI: Add Kconfig option to disable deprecated pci_find_* API 2007-11-05 13:35:17 -08:00
Makefile PCI: fix section mismatch warnings referring to pci_do_scan_bus 2008-02-02 15:04:30 -08:00
access.c [PATCH] severing module.h->sched.h 2006-12-04 02:00:22 -05:00
bus.c PCI: make pci_bus a struct device 2008-02-01 15:04:31 -08:00
dmar.c PCI: More Sanity checks for DMAR 2008-02-01 15:04:21 -08:00
hotplug-pci.c PCI: fix section mismatch warnings referring to pci_do_scan_bus 2008-02-02 15:04:30 -08:00
hotplug.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
htirq.c PCI: Use pci_find_ht_capability() in drivers/pci/htirq.c 2006-12-20 10:54:42 -08:00
intel-iommu.c PCI: Spelling fixes 2008-02-01 15:04:26 -08:00
intel-iommu.h intel-iommu fixes 2007-10-29 07:41:32 -07:00
iova.c intel-iommu: optimize sg map/unmap calls 2007-10-22 08:13:19 -07:00
iova.h intel-iommu: optimize sg map/unmap calls 2007-10-22 08:13:19 -07:00
msi.c PCI: drivers/pci/msi.c: move arch hooks to the top 2008-02-01 15:04:25 -08:00
msi.h PCI: Make some MSI-X #defines generic 2006-12-01 14:36:56 -08:00
pci-acpi.c PCI ACPI: Added a function to register _OSC with only PCIe devices. 2008-02-01 15:04:29 -08:00
pci-driver.c PCI: Mem Policy: fix mempolicy usage in pci driver 2008-02-01 15:04:20 -08:00
pci-sysfs.c Revert "PCI: PCIE ASPM support" 2008-02-02 11:32:01 -08:00
pci.c Revert "PCI: PCIE ASPM support" 2008-02-02 11:32:01 -08:00
pci.h PCI: make pci_bus a struct device 2008-02-01 15:04:31 -08:00
probe.c PCI: fix section mismatch warnings referring to pci_do_scan_bus 2008-02-02 15:04:30 -08:00
proc.c PCI: constify function pointer tables 2008-02-01 15:04:29 -08:00
quirks.c PCI: modify SB700 SATA MSI quirk 2008-02-01 15:04:30 -08:00
remove.c Revert "PCI: PCIE ASPM support" 2008-02-02 11:32:01 -08:00
rom.c PCI: drivers/pci/rom.c: #if 0 two functions 2008-02-01 15:04:18 -08:00
search.c PCI: Add Kconfig option to disable deprecated pci_find_* API 2007-11-05 13:35:17 -08:00
setup-bus.c PCI: Fix bus resource assignment on 32 bits with 64b resources 2008-02-01 15:04:25 -08:00
setup-irq.c kobjects: fix up improper use of the kobject name field 2007-10-12 14:51:02 -07:00
setup-res.c PCI: Fix warning in setup-res.c on 32-bit platforms with 64-bit resources 2008-02-01 15:04:25 -08:00
syscall.c PCI: remove unneeded lock_kernel() in drivers/pci/syscall.c. 2008-02-01 15:04:21 -08:00