]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: Fix SA1100 Neponset serial section mismatch
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 27 Sep 2009 16:31:27 +0000 (17:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Sep 2009 17:06:16 +0000 (18:06 +0100)
commit3f944ab115f64fefa2c8ae985aafe652179fce4f
treed5b86f5056a23f0b56d50bc661be2a691e9650de
parentb29cf62c43409fa2f7fbfba4e2ab230a7ac5aff8
ARM: Fix SA1100 Neponset serial section mismatch

WARNING: vmlinux.o(.devinit.text+0x524): Section mismatch in reference from the function neponset_probe() to the function .init.text:sa1100_register_uart_fns()
The function __devinit neponset_probe() references
a function __init sa1100_register_uart_fns().
If sa1100_register_uart_fns is only used by neponset_probe then
annotate sa1100_register_uart_fns with a matching annotation.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
drivers/serial/sa1100.c