Commit 2a5f03b6 authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 65197a7d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment