Skip to content

Commit f4d6adf

Browse files
broonieLiam Girdwood
authored andcommitted
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>
1 parent 50ba5ca commit f4d6adf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/regulator/max8998.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ static inline void buck2_gpio_set(int gpio, int v)
354354
}
355355

356356
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)
358358
{
359359
struct max8998_data *max8998 = rdev_get_drvdata(rdev);
360360
struct max8998_platform_data *pdata =

0 commit comments

Comments
 (0)