Explorar o código

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>
Mark Brown %!s(int64=14) %!d(string=hai) anos
pai
achega
f4d6adf11b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/regulator/max8998.c

+ 1 - 1
drivers/regulator/max8998.c

@@ -354,7 +354,7 @@ static inline void buck2_gpio_set(int gpio, int v)
 }
 }
 
 
 static int max8998_set_voltage_buck(struct regulator_dev *rdev,
 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_data *max8998 = rdev_get_drvdata(rdev);
 	struct max8998_platform_data *pdata =
 	struct max8998_platform_data *pdata =