Skip to content

Commit

Permalink
staging: mt7621-gpio: mt7621: make symbol gc_map static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Mar 22, 2018
1 parent 65197a7 commit 2a5f03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/mt7621-gpio/gpio-mt7621.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a5f03b

Please sign in to comment.