diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-05-18 18:47:11 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-18 20:28:48 (GMT) |
commit | eb4db450aa19dfc806fbd9747879c420e154dc33 (patch) | |
tree | 99059eca2008c6481e3161fc4b432a65c574d9ee /drivers/char/vme_scc.c | |
parent | 47738a75cdf3fb6793a834ec5c4dc2c6a88e510a (diff) | |
download | linux-fsl-qoriq-eb4db450aa19dfc806fbd9747879c420e154dc33.tar.xz |
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>
Diffstat (limited to 'drivers/char/vme_scc.c')
-rw-r--r-- | drivers/char/vme_scc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/char/vme_scc.c b/drivers/char/vme_scc.c index e122a0e..f17ac04 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 |