summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2013-03-30 22:08:22 +0100
committerChris Zankel <chris@zankel.net>2013-05-09 10:07:09 +0200
commitb06c14e5c11a7e3fb9b4d94bb83847bf1fbbdaa3 (patch)
tree5aef759d2d707634460fa42705b6eabc96ac9f78 /arch/xtensa/kernel
parentxtensa: remove KCORE_ELF again (diff)
downloadlinux-b06c14e5c11a7e3fb9b4d94bb83847bf1fbbdaa3.tar.xz
linux-b06c14e5c11a7e3fb9b4d94bb83847bf1fbbdaa3.zip
xtensa: provide default platform_pcibios_init implementation
This fixes the following build error: arch/xtensa/kernel/built-in.o:(.init.literal+0xe8): undefined reference to `platform_pcibios_init' arch/xtensa/kernel/built-in.o: In function `setup_arch': (.init.text+0x20e): undefined reference to `platform_pcibios_init' and allows platform to omit definition of platform_pcibios_init if it's empty. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r--arch/xtensa/kernel/platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/platform.c b/arch/xtensa/kernel/platform.c
index 44bf21c3769a..2bd6c351f37c 100644
--- a/arch/xtensa/kernel/platform.c
+++ b/arch/xtensa/kernel/platform.c
@@ -36,6 +36,7 @@ _F(void, power_off, (void), { while(1); });
_F(void, idle, (void), { __asm__ __volatile__ ("waiti 0" ::: "memory"); });
_F(void, heartbeat, (void), { });
_F(int, pcibios_fixup, (void), { return 0; });
+_F(void, pcibios_init, (void), { });
#ifdef CONFIG_XTENSA_CALIBRATE_CCOUNT
_F(void, calibrate_ccount, (void),