From 7ca1ea66026f1aba48128a0077ce472440aac63e Mon Sep 17 00:00:00 2001 From: Fengguang Wu Date: Tue, 27 Aug 2013 17:08:16 -0700 Subject: [PATCH] staging: gdm7240: gdm_driver[] can be static Signed-off-by: Fengguang Wu Signed-off-by: Greg Kroah-Hartman --- drivers/staging/gdm724x/gdm_tty.c | 4 ++-- 1 file 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"}; -- 2.39.5