]> err.no Git - linux-2.6/commitdiff
[POWERPC] Fix celleb sio section warning
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>
Thu, 26 Jul 2007 10:00:56 +0000 (20:00 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:50 +0000 (11:01 +1000)
Fix following warning:
WARNING: vmlinux.o(.text+0x45fd4): Section mismatch: reference to .init.text:.early_serial_txx9_setup (between '.txx9_serial_init' and '.txx9_serial_config')

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/celleb/scc_sio.c

index bcd25f54d9869fb7eb78254954beee07ec0427c8..d219b60a4a8c78fc0c7989a25d24a43cc7531817 100644 (file)
@@ -39,7 +39,7 @@ static struct {
        { 0x800, 1 }    /* 0xFF2800 */
 };
 
-static int txx9_serial_init(void)
+static int __init txx9_serial_init(void)
 {
        extern int early_serial_txx9_setup(struct uart_port *port);
        struct device_node *node;