ARM: pxa, regulator: fix building ezx e680
authorArnd Bergmann <arnd@arndb.de>
Wed, 30 May 2018 21:24:58 +0000 (23:24 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 31 May 2018 10:23:42 +0000 (11:23 +0100)
commit2b6c00c157c5bf80417f6b814f1088da2dc588ee
tree389a5ef151ebfce20d2bb81c016f1d40bcf12c4e
parent38de19fa7159838fbe180e859cb46501d9fca4f4
ARM: pxa, regulator: fix building ezx e680

The reference to camera_supply_gpiod_table was added in the wrong function,
as observed from this randconfig build failure:

arch/arm/mach-pxa/ezx.c: In function 'e680_init':
arch/arm/mach-pxa/ezx.c:905:26: error: 'camera_supply_gpiod_table' undeclared (first use in this function)
  gpiod_add_lookup_table(&camera_supply_gpiod_table);

Fixes: 6059577cb28d ("regulator: fixed: Convert to use GPIO descriptor only")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/mach-pxa/ezx.c