Skip to content

Commit

Permalink
[POWERPC] Fix celleb sio section warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ishizaki Kou authored and Paul Mackerras committed Aug 17, 2007
1 parent e5b9187 commit b090b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/celleb/scc_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b090b33

Please sign in to comment.