aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/da9052-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-20 17:12:00 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-20 10:02:48 +0000
commit6242eae9bce864467bc4d6a8b67d1846ecaccf23 (patch)
tree1d593193ed927c9b2d6985ee79dc7f6ea0e01581 /drivers/regulator/da9052-regulator.c
parentregulator: Replace kzalloc with devm_kzalloc and if-else with a switch-case for da9052-regulator (diff)
downloadlinux-dev-6242eae9bce864467bc4d6a8b67d1846ecaccf23.tar.xz
linux-dev-6242eae9bce864467bc4d6a8b67d1846ecaccf23.zip
regulator: da9052: Staticize non-exported symbols
da9052_regulator_info and da9053_regulator_info are not used outside this driver so no need to make the symbol global. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/da9052-regulator.c')
-rw-r--r--drivers/regulator/da9052-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c
index f2840b522cde..3767364452fd 100644
--- a/drivers/regulator/da9052-regulator.c
+++ b/drivers/regulator/da9052-regulator.c
@@ -461,7 +461,7 @@ static struct regulator_ops da9052_ldo_ops = {
.activate_bit = (abits),\
}
-struct da9052_regulator_info da9052_regulator_info[] = {
+static struct da9052_regulator_info da9052_regulator_info[] = {
/* Buck1 - 4 */
DA9052_DCDC(0, 25, 500, 2075, 6, 6, DA9052_SUPPLY_VBCOREGO),
DA9052_DCDC(1, 25, 500, 2075, 6, 6, DA9052_SUPPLY_VBPROGO),
@@ -480,7 +480,7 @@ struct da9052_regulator_info da9052_regulator_info[] = {
DA9052_LDO(13, 50, 1200, 3600, 6, 6, 0),
};
-struct da9052_regulator_info da9053_regulator_info[] = {
+static struct da9052_regulator_info da9053_regulator_info[] = {
/* Buck1 - 4 */
DA9052_DCDC(0, 25, 500, 2075, 6, 6, DA9052_SUPPLY_VBCOREGO),
DA9052_DCDC(1, 25, 500, 2075, 6, 6, DA9052_SUPPLY_VBPROGO),