diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-03-22 02:09:25 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 18:31:04 +0100 |
commit | 2a5f03b60a0cf59b305f10ff2dbc6cf84b280bba (patch) | |
tree | f25744a0a2f9e79f5dc38b89990be2ec510e3713 /drivers/staging/mt7621-gpio | |
parent | 65197a7d361f01878ac23a2cc007c19095e5d8a6 (diff) | |
download | talos-obmc-linux-2a5f03b60a0cf59b305f10ff2dbc6cf84b280bba.tar.gz talos-obmc-linux-2a5f03b60a0cf59b305f10ff2dbc6cf84b280bba.zip |
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>
Diffstat (limited to 'drivers/staging/mt7621-gpio')
-rw-r--r-- | drivers/staging/mt7621-gpio/gpio-mt7621.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c index 830d42990244..51235687ddb6 100644 --- a/drivers/staging/mt7621-gpio/gpio-mt7621.c +++ b/drivers/staging/mt7621-gpio/gpio-mt7621.c @@ -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; |