tty: mxser: local variables should not be exposed globally
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 3 May 2012 00:57:17 +0000 (17:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 23:42:14 +0000 (16:42 -0700)
commite391edb727f51094582d39a29a94a83bc9c014e8
tree099e0294f8e2b1e929a3ee083a65ac377641d967
parentf73fa05b90eb8c0dd3230c364cf1107f4f8f3848
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>
drivers/tty/mxser.c