aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_gsm.c
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-02-04 13:23:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 11:10:10 -0400
commitd3157b2ca59ceb9ad1b72cad09535a343f315667 (patch)
tree108c997c789a3426b218c20471d45d215338a422 /drivers/tty/n_gsm.c
parent1083a7be4504df8149015894c982ebaf69766ddc (diff)
tty/n_gsm: fix sparse warning
this patch fixes following sparse warning: n_gsm.c:2827:22: warning: symbol 'tty_ldisc_packet' was not declared. Should it be static? Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_gsm.c')
-rw-r--r--drivers/tty/n_gsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c
index c4343764cc5b..9546b64a7b90 100644
--- a/drivers/tty/n_gsm.c
+++ b/drivers/tty/n_gsm.c
@@ -2824,7 +2824,7 @@ static int gsm_create_network(struct gsm_dlci *dlci, struct gsm_netconfig *nc)
2824} 2824}
2825 2825
2826/* Line discipline for real tty */ 2826/* Line discipline for real tty */
2827struct tty_ldisc_ops tty_ldisc_packet = { 2827static struct tty_ldisc_ops tty_ldisc_packet = {
2828 .owner = THIS_MODULE, 2828 .owner = THIS_MODULE,
2829 .magic = TTY_LDISC_MAGIC, 2829 .magic = TTY_LDISC_MAGIC,
2830 .name = "n_gsm", 2830 .name = "n_gsm",