ARM: pci: always export pcibios_bus_to_resource
authorArnd Bergmann <arnd@arndb.de>
Sun, 4 Sep 2011 20:30:06 +0000 (22:30 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 1 Oct 2011 19:11:29 +0000 (21:11 +0200)
commitb214bea525c5b62f6f8984557022e4593c441205
tree8c01cd9fbcff7d84245b840518946f20ba1cdb06
parent06901bd83412db5a31de7526e637101ed0c2c472
ARM: pci: always export pcibios_bus_to_resource

Some PCI drivers call pcibios_bus_to_resource directly,
but it is only exported when CONFIG_HOTPLUG is set,
because it was initially mean for pccard support.

Moving the export out of the #ifdef lets us avoid these
build errors:

ERROR: "pcibios_bus_to_resource" [drivers/video/vt8623fb.ko] undefined!
ERROR: "pcibios_bus_to_resource" [drivers/video/arkfb.ko] undefined!
ERROR: "pcibios_bus_to_resource" [drivers/video/s3fb.ko] undefined!

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/kernel/bios32.c
This page took 0.030988 seconds and 5 git commands to generate.