summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/celleb/scc_sio.c
diff options
context:
space:
mode:
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>2007-07-26 14:00:56 +0400
committerPaul Mackerras <paulus@samba.org>2007-08-17 05:01:50 +0400
commitb090b3388b6ea5d1003260daa0a997f4a1c4acc5 (patch)
treebd01e9329978b2d34bdd42b0240051189eb8eb22 /arch/powerpc/platforms/celleb/scc_sio.c
parente5b9187b16993e4bb6799185e266f68e26663bee (diff)
downloadlinux-b090b3388b6ea5d1003260daa0a997f4a1c4acc5.tar.xz
[POWERPC] Fix celleb sio section warning
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>
Diffstat (limited to 'arch/powerpc/platforms/celleb/scc_sio.c')
-rw-r--r--arch/powerpc/platforms/celleb/scc_sio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/celleb/scc_sio.c b/arch/powerpc/platforms/celleb/scc_sio.c
index bcd25f54d986..d219b60a4a8c 100644
--- a/arch/powerpc/platforms/celleb/scc_sio.c
+++ b/arch/powerpc/platforms/celleb/scc_sio.c
@@ -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;