summaryrefslogtreecommitdiff
path: root/drivers/staging/gdm724x
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-08-27 17:08:16 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-27 17:08:16 -0700
commit7ca1ea66026f1aba48128a0077ce472440aac63e (patch)
tree1eae525b9e7dd728912fb0d270733db90142ef95 /drivers/staging/gdm724x
parent854984d70c6b0e67569e5390f50d8c6c9ad5c8b7 (diff)
staging: gdm7240: gdm_driver[] can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x')
-rw-r--r--drivers/staging/gdm724x/gdm_tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c
index c1530b76cd86..0247a2055e8d 100644
--- a/drivers/staging/gdm724x/gdm_tty.c
+++ b/drivers/staging/gdm724x/gdm_tty.c
@@ -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"};