]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
regulator: da9052: Staticize non-exported symbols
authorAxel Lin <axel.lin@gmail.com>
Tue, 20 Dec 2011 09:12:00 +0000 (17:12 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 20 Dec 2011 10:02:48 +0000 (10:02 +0000)
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>
drivers/regulator/da9052-regulator.c

index f2840b522cde903701106f4fac699177acd64e2e..3767364452fdd890785da5276f1f9b648be89aea 100644 (file)
@@ -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),