From: Geert Uytterhoeven Date: Sun, 18 May 2008 18:47:11 +0000 (+0200) Subject: m68k vme_scc: avoid global namespace pollution X-Git-Tag: v2.6.26-rc3~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=eb4db450aa19dfc806fbd9747879c420e154dc33;p=linux-2.6-omap-h63xx.git m68k vme_scc: avoid global namespace pollution m68k vme_scc: - make scc_ports[] static - kill unused global scc_initialized Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/vme_scc.c b/drivers/char/vme_scc.c index e122a0e87bb..f17ac043b55 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