diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-19 07:07:44 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-01-12 09:33:01 -0500 |
commit | f4d6adf11b0a596ac4fee2fb2591f286de35c088 (patch) | |
tree | 19b6204f8d6730d30a2691e087b36406d4525d73 /drivers/regulator/max8998.c | |
parent | 50ba5ca4be30674517ca33425648ec43d93f9a69 (diff) |
regulator: Fix prototype for MAX8998 buck set_voltage()
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/max8998.c')
-rw-r--r-- | drivers/regulator/max8998.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c index cb28cf8b9397..7568df6122ab 100644 --- a/drivers/regulator/max8998.c +++ b/drivers/regulator/max8998.c | |||
@@ -354,7 +354,7 @@ static inline void buck2_gpio_set(int gpio, int v) | |||
354 | } | 354 | } |
355 | 355 | ||
356 | static int max8998_set_voltage_buck(struct regulator_dev *rdev, | 356 | static int max8998_set_voltage_buck(struct regulator_dev *rdev, |
357 | int min_uV, int max_uV, int *selector) | 357 | int min_uV, int max_uV, unsigned *selector) |
358 | { | 358 | { |
359 | struct max8998_data *max8998 = rdev_get_drvdata(rdev); | 359 | struct max8998_data *max8998 = rdev_get_drvdata(rdev); |
360 | struct max8998_platform_data *pdata = | 360 | struct max8998_platform_data *pdata = |