[PATCH v2] pinctrl: meson: fix unused variable warning

Linus Walleij linus.walleij at linaro.org
Tue Apr 19 15:42:59 PDT 2022


On Wed, Mar 30, 2022 at 4:38 AM Qianggui Song <qianggui.song at amlogic.com> wrote:

> The kernel test robot reported a warning as below:
> >> drivers/pinctrl/meson/pinctrl-meson-s4.c:178:27: warning: unused variable 'tdm_sclk1_c_pins' [-Wunused-const-variable]
>    static const unsigned int tdm_sclk1_c_pins[]            = { GPIOC_3 };
>
> Fix it by adding missing description about this pins
>
> Fixes: 775214d389c2 ("pinctrl: meson: add pinctrl driver support for Meson-S4 Soc")
> Reported-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Qianggui Song <qianggui.song at amlogic.com>

Patch applied!

Yours,
Linus Walleij



More information about the linux-amlogic mailing list