summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-05-18 20:47:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-18 13:28:48 -0700
commiteb4db450aa19dfc806fbd9747879c420e154dc33 (patch)
tree99059eca2008c6481e3161fc4b432a65c574d9ee
parent47738a75cdf3fb6793a834ec5c4dc2c6a88e510a (diff)
downloadlinux-eb4db450aa19dfc806fbd9747879c420e154dc33.tar.bz2
m68k vme_scc: avoid global namespace pollution
m68k vme_scc: - make scc_ports[] static - kill unused global scc_initialized Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/char/vme_scc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/char/vme_scc.c b/drivers/char/vme_scc.c
index e122a0e87bb0..f17ac043b551 100644
--- a/drivers/char/vme_scc.c
+++ b/drivers/char/vme_scc.c
@@ -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