spi.c:scan_boardinfo() mustn't be __init_or_module
authorAdrian Bunk <bunk@stusta.de>
Sat, 21 Jul 2007 11:37:52 +0000 (04:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:16 +0000 (17:49 -0700)
commit149a6501f90df457d75a1954dd5a29434a182e6a
tree1ca514a7d42c2db0e500722d6ffc950743935be5
parent8b6f50ef1d5cc86b278eb42bc91630fad455fb10
spi.c:scan_boardinfo() mustn't be __init_or_module

WARNING: drivers/built-in.o(.text+0x889735): Section mismatch: reference to .init.text:scan_boardinfo (between 'spi_register_master' and '__unregister')

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi.c