summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-versatile
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-07-27 08:59:55 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-07-27 09:03:09 +0100
commita3e5bb42898d10cff1d054d4b115d4dd608c0566 (patch)
tree8deb9016f77361434580e930e76d50ea4d524d65 /arch/arm/mach-versatile
parentb042245fc2ca8c0326f3f1ea6c4dafc561bb3a82 (diff)
downloadop-kernel-dev-a3e5bb42898d10cff1d054d4b115d4dd608c0566.zip
op-kernel-dev-a3e5bb42898d10cff1d054d4b115d4dd608c0566.tar.gz
ARM: Versatile: fix section mismatch
WARNING: vmlinux.o(.text+0xbf38): Section mismatch in reference from the function pci_versatile_scan_bus() to the function .devinit.text:pci_scan_bus_parented() The function pci_versatile_scan_bus() references the function __devinit pci_scan_bus_parented(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-versatile')
-rw-r--r--arch/arm/mach-versatile/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-versatile/pci.c b/arch/arm/mach-versatile/pci.c
index 334f0df..13c7e5f 100644
--- a/arch/arm/mach-versatile/pci.c
+++ b/arch/arm/mach-versatile/pci.c
@@ -304,7 +304,7 @@ int __init pci_versatile_setup(int nr, struct pci_sys_data *sys)
}
-struct pci_bus *pci_versatile_scan_bus(int nr, struct pci_sys_data *sys)
+struct pci_bus * __init pci_versatile_scan_bus(int nr, struct pci_sys_data *sys)
{
return pci_scan_bus(sys->busnr, &pci_versatile_ops, sys);
}
OpenPOWER on IntegriCloud