Commit 96532151 authored by Ralf Baechle's avatar Ralf Baechle

Revert "[MIPS] DEC: Fix modpost warning."

This reverts commit 8713762acf341edea9d25d6a4817f235c67bc004.
parent 3bd39664
...@@ -143,7 +143,7 @@ static struct console sercons; ...@@ -143,7 +143,7 @@ static struct console sercons;
static unsigned long break_pressed; /* break, really ... */ static unsigned long break_pressed; /* break, really ... */
#endif #endif
static unsigned char zs_init_regs[16] = { static unsigned char zs_init_regs[16] __initdata = {
0, /* write 0 */ 0, /* write 0 */
0, /* write 1 */ 0, /* write 1 */
0, /* write 2 */ 0, /* write 2 */
...@@ -1581,7 +1581,7 @@ static void __init show_serial_version(void) ...@@ -1581,7 +1581,7 @@ static void __init show_serial_version(void)
/* Initialize Z8530s zs_channels /* Initialize Z8530s zs_channels
*/ */
static void probe_sccs(void) static void __init probe_sccs(void)
{ {
struct dec_serial **pp; struct dec_serial **pp;
int i, n, n_chips = 0, n_channels, chip, channel; 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) ...@@ -1923,7 +1923,7 @@ static struct tty_driver *serial_console_device(struct console *c, int *index)
* - initialize the serial port * - initialize the serial port
* Return non-zero if we didn't find a serial port. * Return non-zero if we didn't find a serial port.
*/ */
static int serial_console_setup(struct console *co, char *options) static int __init serial_console_setup(struct console *co, char *options)
{ {
struct dec_serial *info; struct dec_serial *info;
int baud = 9600; int baud = 9600;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment