staging: gdm7240: gdm_driver[] can be static
authorFengguang Wu <fengguang.wu@intel.com>
Wed, 28 Aug 2013 00:08:16 +0000 (17:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 00:08:16 +0000 (17:08 -0700)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_tty.c

index c1530b76cd8604ba5a07e64c3236af3272bdd1fe..0247a2055e8d68097388c6aaf9331a6b5ea4800c 100644 (file)
@@ -47,8 +47,8 @@
 
 #define GDM_TTY_READY(gdm) (gdm && gdm->tty_dev && gdm->port.count)
 
-struct tty_driver *gdm_driver[TTY_MAX_COUNT];
-struct gdm *gdm_table[TTY_MAX_COUNT][GDM_TTY_MINOR];
+static struct tty_driver *gdm_driver[TTY_MAX_COUNT];
+static struct gdm *gdm_table[TTY_MAX_COUNT][GDM_TTY_MINOR];
 static DEFINE_MUTEX(gdm_table_lock);
 
 static char *DRIVER_STRING[TTY_MAX_COUNT] = {"GCTATC", "GCTDM"};