staging: mt7621-gpio: mt7621: make symbol gc_map static

Fixes the following sparse warning:

drivers/staging/mt7621-gpio/gpio-mt7621.c:47:3: warning:
 symbol 'gc_map' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Wei Yongjun 2018-03-22 02:09:25 +00:00 committed by Greg Kroah-Hartman
parent 65197a7d36
commit 2a5f03b60a
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ static void __iomem *mediatek_gpio_membase;
static int mediatek_gpio_irq;
static struct irq_domain *mediatek_gpio_irq_domain;
struct mtk_gc {
static struct mtk_gc {
struct gpio_chip chip;
spinlock_t lock;
int bank;