regulator: rk808: add #include for gpiod functions
authorUwe Kleine-König <uwe@kleine-koenig.org>
Tue, 21 Jul 2015 14:46:24 +0000 (16:46 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 21 Jul 2015 16:11:29 +0000 (17:11 +0100)
commit604d4994277f3526c8ec7ba16f32e236d5ca3e78
tree10c9fdf6ce4621999e2291b0d04725f89cc5855b
parentbad47ad2eef341a79ff355734147efe933618033
regulator: rk808: add #include for gpiod functions

This fixes a build problem on mips found by the kbuild test robot:

drivers/regulator/rk808-regulator.c: In function 'rk808_buck1_2_get_voltage_sel_regmap':
drivers/regulator/rk808-regulator.c:97:2: error: implicit declaration of function 'gpiod_get_value' [-Werror=implicit-function-declaration]
  if (IS_ERR(gpio) || gpiod_get_value(gpio) == 0)
  ^

Fixes: bad47ad2eef3 ("regulator: rk808: fixed the overshoot when adjust voltage")
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rk808-regulator.c