From: Fengguang Wu Date: Wed, 28 Aug 2013 00:08:16 +0000 (-0700) Subject: staging: gdm7240: gdm_driver[] can be static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7ca1ea66026f1aba48128a0077ce472440aac63e;p=openwrt%2Fstaging%2Fblogic.git staging: gdm7240: gdm_driver[] can be static Signed-off-by: Fengguang Wu Signed-off-by: Greg Kroah-Hartman --- 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"};