Commit eb4db450 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds
Browse files

m68k vme_scc: avoid global namespace pollution



m68k vme_scc:
  - make scc_ports[] static
  - kill unused global scc_initialized

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 47738a75
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -89,9 +89,7 @@ static void scc_break_ctl(struct tty_struct *tty, int break_state);


static struct tty_driver *scc_driver;
static struct tty_driver *scc_driver;


struct scc_port scc_ports[2];
static struct scc_port scc_ports[2];

int scc_initialized = 0;


/*---------------------------------------------------------------------------
/*---------------------------------------------------------------------------
 * Interface from generic_serial.c back here
 * Interface from generic_serial.c back here