ARM: OMAP1: isp1301-omap: Add missing gpiod_add_lookup_table function
authorMaciej Falkowski <maciej.falkowski9@gmail.com>
Thu, 1 Apr 2021 16:20:32 +0000 (18:20 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 18 May 2021 06:44:41 +0000 (09:44 +0300)
commit7c302314f37b44595f180198fca5ca646bce4a5f
tree891d3715d2061ccd0bb8f4ca45c7d813019fc511
parent3c4e0147c269738a19c7d70cd32395600bcc0714
ARM: OMAP1: isp1301-omap: Add missing gpiod_add_lookup_table function

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.

Signed-off-by: Maciej Falkowski <maciej.falkowski9@gmail.com>
Fixes: f3ef38160e3d ("usb: isp1301-omap: Convert to use GPIO descriptors")
Link: https://github.com/ClangBuiltLinux/linux/issues/1325
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-h2.c