Skip to contentSkip to conversation

regulator: da9052: Staticize non-exported symbols

PATCH Applied Axel Lin 2 participants 2 messages Dec 20, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/regulator/da9052-regulator.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/regulator/da9052-regulator.c +2 -2
index f2840b5..3767364 100644
@@ -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),
Signature · 1 line
1.7.5.4
Applied
#1 lore raw
Quoted 2 lines · Axel Lin

da9052_regulator_info and da9053_regulator_info are not used outside this driver so no need to make the symbol global.

Applied, thanks.