summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-06-10 12:04:53 +0530
committerMark Brown <broonie@linaro.org>2014-06-21 11:33:15 +0100
commit53ddddcad5a4fc41db3e2f16c22344d8da58cf74 (patch)
treee26b9d9f8fdbcfe078e66651924b4f5b6e908c55
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadlinux-rpi3-53ddddcad5a4fc41db3e2f16c22344d8da58cf74.tar.gz
linux-rpi3-53ddddcad5a4fc41db3e2f16c22344d8da58cf74.tar.bz2
linux-rpi3-53ddddcad5a4fc41db3e2f16c22344d8da58cf74.zip
regulator: ltc3589: Staticize ltc3589_reg_defaults
'ltc3589_reg_defaults' is local to this file. Make it static. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--drivers/regulator/ltc3589.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/ltc3589.c b/drivers/regulator/ltc3589.c
index 110a99ee1162..217d10d6f8f7 100644
--- a/drivers/regulator/ltc3589.c
+++ b/drivers/regulator/ltc3589.c
@@ -377,7 +377,7 @@ static bool ltc3589_volatile_reg(struct device *dev, unsigned int reg)
return false;
}
-struct reg_default ltc3589_reg_defaults[] = {
+static struct reg_default ltc3589_reg_defaults[] = {
{ LTC3589_SCR1, 0x00 },
{ LTC3589_OVEN, 0x00 },
{ LTC3589_SCR2, 0x00 },