summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2011-08-09 21:49:03 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:47:18 -0800
commitfc76db00475534c15af2d8aaa88e47067ccd1300 (patch)
tree3fcecd96462436ae34c0c6d81090ff06c8d15379 /drivers/regulator
parent508d27153423a1aa9aabe5aec1ef44437d54c6e0 (diff)
regulator: tps80031: Fix build warning
Original-Change-Id: I0bcfd38569b9a9a1cc21d0e9d12a0d114d87be9c Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: Rf1f1609942bd3ca4fae07ab37304cb214ab87774
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/tps80031-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/tps80031-regulator.c b/drivers/regulator/tps80031-regulator.c
index fa32b085c1d4..cb8686a65002 100644
--- a/drivers/regulator/tps80031-regulator.c
+++ b/drivers/regulator/tps80031-regulator.c
@@ -378,7 +378,7 @@ out:
}
static int tps80031dcdc_set_voltage(struct regulator_dev *rdev,
- int min_uV, int max_uV)
+ int min_uV, int max_uV, unsigned *selector)
{
struct tps80031_regulator *ri = rdev_get_drvdata(rdev);
struct device *parent = to_tps80031_dev(rdev);
@@ -517,7 +517,7 @@ static int __tps80031_ldo_set_voltage(struct device *parent,
}
static int tps80031ldo_set_voltage(struct regulator_dev *rdev,
- int min_uV, int max_uV)
+ int min_uV, int max_uV, unsigned *selector)
{
struct tps80031_regulator *ri = rdev_get_drvdata(rdev);
struct device *parent = to_tps80031_dev(rdev);