[PATCH] usb: isp1301-omap: Add missing gpiod_add_lookup_table function

Tony Lindgren tony at atomide.com
Mon May 17 23:42:45 PDT 2021


* Maciej Falkowski <maciej.falkowski9 at gmail.com> [210401 19:22]:
> The gpiod table was added without any usage making it unused
> as reported by Clang compilation from omap1_defconfig on linux-next:
> 
> arch/arm/mach-omap1/board-h2.c:347:34: warning: unused variable 'isp1301_gpiod_table' [-Wunused-variable]
> static struct gpiod_lookup_table isp1301_gpiod_table = {
>                                  ^
> 1 warning generated.
> 
> The patch adds the missing gpiod_add_lookup_table() function.

Applying into fixes thanks.

Tony



More information about the linux-arm-kernel mailing list