aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/mc13892-regulator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/mc13892-regulator.c b/drivers/regulator/mc13892-regulator.c
index ca1d30adad99..16a053243f92 100644
--- a/drivers/regulator/mc13892-regulator.c
+++ b/drivers/regulator/mc13892-regulator.c
@@ -295,8 +295,8 @@ static struct mc13xxx_regulator mc13892_regulators[] = {
295 MC13892_GPO_DEFINE(PWGT2SPI, POWERMISC, mc13892_pwgtdrv), 295 MC13892_GPO_DEFINE(PWGT2SPI, POWERMISC, mc13892_pwgtdrv),
296}; 296};
297 297
298int mc13892_powermisc_rmw(struct mc13xxx_regulator_priv *priv, u32 mask, 298static int mc13892_powermisc_rmw(struct mc13xxx_regulator_priv *priv, u32 mask,
299 u32 val) 299 u32 val)
300{ 300{
301 struct mc13xxx *mc13892 = priv->mc13xxx; 301 struct mc13xxx *mc13892 = priv->mc13xxx;
302 int ret; 302 int ret;
@@ -496,7 +496,7 @@ static int mc13892_vcam_set_mode(struct regulator_dev *rdev, unsigned int mode)
496 return ret; 496 return ret;
497} 497}
498 498
499unsigned int mc13892_vcam_get_mode(struct regulator_dev *rdev) 499static unsigned int mc13892_vcam_get_mode(struct regulator_dev *rdev)
500{ 500{
501 struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev); 501 struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev);
502 int ret, id = rdev_get_id(rdev); 502 int ret, id = rdev_get_id(rdev);