Skip to contentSkip to conversation

regulator: Fix prototype for MAX8998 buck set_voltage()

PATCH New Mark Brown 1 participant 1 message Nov 16, 2010 Voltage and current regulator framework

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 regulator: Fix prototype for MAX8998 buck set_voltage()

---
 drivers/regulator/max8998.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/regulator/max8998.c +1 -1
index cb28cf8..7568df6 100644
@@ -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 =
Signature · 1 line
1.7.1