VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Ralf Baechle <ralf@linux-mips.org> 2007-07-11 00:07:34 +0100 committer: Ralf Baechle <ralf@linux-mips.org> 2007-07-12 17:41:06 +0100 commit: 96532151ff3567154cac92983b9edc3138fa097c parent: 3bd39664481fc51d82e58a3bec6ba77febc7dfae
Commit Summary:
Revert "[MIPS] DEC: Fix modpost warning."
Diffstat:
1 file changed, 3 insertions, 3 deletions
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c
index 4fff61b32dcb..61de78a9f6ee 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] = {
+static unsigned char zs_init_regs[16] __initdata = {
 	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 probe_sccs(void)
+static void __init 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 serial_console_setup(struct console *co, char *options)
+static int __init serial_console_setup(struct console *co, char *options)
 {
 	struct dec_serial *info;
 	int baud = 9600;