]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: provide default platform_pcibios_init implementation
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 30 Mar 2013 21:08:22 +0000 (01:08 +0400)
committerChris Zankel <chris@zankel.net>
Thu, 9 May 2013 08:07:09 +0000 (01:07 -0700)
commit6de1f4b140f7712aae995f1713a3022e87851188
tree5aef759d2d707634460fa42705b6eabc96ac9f78
parent0723e19fbffb91c40c1d4e0f9db7839df731b43a
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>
arch/xtensa/kernel/platform.c
arch/xtensa/platforms/iss/setup.c