diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-03 02:57:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-05 01:42:14 +0200 |
commit | e391edb727f51094582d39a29a94a83bc9c014e8 (patch) | |
tree | 099e0294f8e2b1e929a3ee083a65ac377641d967 /drivers/tty/serial/sc26xx.c | |
parent | serial8250: Introduce serial8250_register_8250_port() (diff) | |
download | linux-e391edb727f51094582d39a29a94a83bc9c014e8.tar.xz linux-e391edb727f51094582d39a29a94a83bc9c014e8.zip |
tty: mxser: local variables should not be exposed globally
The variable 'mxser_port_ops' is only referenced in this file and
should be marked static to prevent it from being exposed globally.
Quites the sparse warning:
warning: symbol 'mxser_port_ops' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sc26xx.c')
0 files changed, 0 insertions, 0 deletions