regulator: Fix prototype for MAX8998 buck set_voltage()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 19 Nov 2010 12:07:44 +0000 (12:07 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 12 Jan 2011 14:33:01 +0000 (14:33 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/max8998.c

index cb28cf8b939730dd1aec9dc4119ce5e3d75e6c4e..7568df6122ab64a9303f1788e151908ad5bdd094 100644 (file)
@@ -354,7 +354,7 @@ static inline void buck2_gpio_set(int gpio, int v)
 }
 
 static int max8998_set_voltage_buck(struct regulator_dev *rdev,
-                                   int min_uV, int max_uV, int *selector)
+                                   int min_uV, int max_uV, unsigned *selector)
 {
        struct max8998_data *max8998 = rdev_get_drvdata(rdev);
        struct max8998_platform_data *pdata =