From: Wei Yongjun <weiyongj...@huawei.com> 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 <weiyongj...@huawei.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- .../0028-GPIO-ralink-add-mt7621-gpio-controller.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch b/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch index ea341dc33c..a6f19f50ea 100644 --- a/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch +++ b/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch @@ -90,7 +90,7 @@ Signed-off-by: John Crispin <blo...@openwrt.org> +static struct irq_domain *mediatek_gpio_irq_domain; +static atomic_t irq_refcount = ATOMIC_INIT(0); + -+struct mtk_gc { ++static struct mtk_gc { + struct gpio_chip chip; + spinlock_t lock; + int bank; -- 2.17.0 _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev