pinctrl: bm1880: add pwm37 to bm1880_pctrl_groups
authorJason Yan <yanaijie@huawei.com>
Tue, 28 Apr 2020 11:55:43 +0000 (19:55 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 28 Apr 2020 14:28:37 +0000 (16:28 +0200)
The 'pwm37' is not added to bm1880_pctrl_groups, which triggers a gcc
build warning:

drivers/pinctrl/pinctrl-bm1880.c:263:27: warning: ‘pwm37_pins’ defined
but not used [-Wunused-const-variable=]
 static const unsigned int pwm37_pins[] = { 110 };

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200428115543.33379-1-yanaijie@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-bm1880.c

index f7dff4f141017d87366763dc452799e1d4030e2e..d1a7d98367870d4a4a5e56afb7c0c569dda124f7 100644 (file)
@@ -408,6 +408,7 @@ static const struct bm1880_pctrl_group bm1880_pctrl_groups[] = {
        BM1880_PINCTRL_GRP(pwm34),
        BM1880_PINCTRL_GRP(pwm35),
        BM1880_PINCTRL_GRP(pwm36),
+       BM1880_PINCTRL_GRP(pwm37),
        BM1880_PINCTRL_GRP(i2c0),
        BM1880_PINCTRL_GRP(i2c1),
        BM1880_PINCTRL_GRP(i2c2),