diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-10 08:14:15 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-10 17:33:05 +0100 |
commit | bf74b964775009071cf12f9d59d4dd5e388fbe0b (patch) | |
tree | b634851193b962d41361b9a022f4523b1d779676 /drivers/tc | |
parent | 46cc84bf412f95610b25e59d575aada6a5512f3a (diff) | |
download | op-kernel-dev-bf74b964775009071cf12f9d59d4dd5e388fbe0b.zip op-kernel-dev-bf74b964775009071cf12f9d59d4dd5e388fbe0b.tar.gz |
[MIPS] DEC: Fix modpost warning.
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
MODPOST vmlinux
WARNING: drivers/built-in.o(.data+0x2480): Section mismatch: reference to .init.text: (between 'sercons' and 'ds_parms')
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/tc')
-rw-r--r-- | drivers/tc/zs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c index 61de78a..4fff61b 100644 --- a/drivers/tc/zs.c +++ b/drivers/tc/zs.c @@ -143,7 +143,7 @@ static struct console sercons; static unsigned long break_pressed; /* break, really ... */ #endif -static unsigned char zs_init_regs[16] __initdata = { +static unsigned char zs_init_regs[16] = { 0, /* write 0 */ 0, /* write 1 */ 0, /* write 2 */ @@ -1581,7 +1581,7 @@ static void __init show_serial_version(void) /* Initialize Z8530s zs_channels */ -static void __init probe_sccs(void) +static void probe_sccs(void) { struct dec_serial **pp; int i, n, n_chips = 0, n_channels, chip, channel; @@ -1923,7 +1923,7 @@ static struct tty_driver *serial_console_device(struct console *c, int *index) * - initialize the serial port * Return non-zero if we didn't find a serial port. */ -static int __init serial_console_setup(struct console *co, char *options) +static int serial_console_setup(struct console *co, char *options) { struct dec_serial *info; int baud = 9600; |