Skip to contentSkip to conversation

regulator: Fix prototype for MAX8998 buck set_voltage()

PATCH Applied Mark Brown 2 participants 2 messages Nov 19, 2010 – Nov 22, 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
#1 lore raw
Quoted 5 lines · Mark Brown
---
 drivers/regulator/max8998.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied.

Thanks

Liam

Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk