]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/vme_scc.c
m68k vme_scc: avoid global namespace pollution
[linux-2.6-omap-h63xx.git] / drivers / char / vme_scc.c
index bef6d886d4fb2f6e3e2ea3b69ee1da3e29673b0c..f17ac043b551ee3bc6deb01148d45baac2bd2f2d 100644 (file)
@@ -89,9 +89,7 @@ static void scc_break_ctl(struct tty_struct *tty, int break_state);
 
 static struct tty_driver *scc_driver;
 
-struct scc_port scc_ports[2];
-
-int scc_initialized = 0;
+static struct scc_port scc_ports[2];
 
 /*---------------------------------------------------------------------------
  * Interface from generic_serial.c back here
@@ -1013,18 +1011,10 @@ static struct tty_driver *scc_console_device(struct console *c, int *index)
        return scc_driver;
 }
 
-
-static int __init scc_console_setup(struct console *co, char *options)
-{
-       return 0;
-}
-
-
 static struct console sercons = {
        .name           = "ttyS",
        .write          = scc_console_write,
        .device         = scc_console_device,
-       .setup          = scc_console_setup,
        .flags          = CON_PRINTBUFFER,
        .index          = -1,
 };