* [PATCH] regulator: da9052: Staticize non-exported symbols
@ 2011-12-20 9:12 Axel Lin
2011-12-20 10:03 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-12-20 9:12 UTC (permalink / raw)
To: linux-kernel; +Cc: David Dajun Chen, Ashish Jangam, Liam Girdwood, Mark Brown
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>
---
drivers/regulator/da9052-regulator.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c
index f2840b5..3767364 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),
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] regulator: da9052: Staticize non-exported symbols
2011-12-20 9:12 [PATCH] regulator: da9052: Staticize non-exported symbols Axel Lin
@ 2011-12-20 10:03 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-12-20 10:03 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, David Dajun Chen, Ashish Jangam, Liam Girdwood
On Tue, Dec 20, 2011 at 05:12:00PM +0800, Axel Lin wrote:
> da9052_regulator_info and da9053_regulator_info are not used outside
> this driver so no need to make the symbol global.
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-20 10:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-20 9:12 [PATCH] regulator: da9052: Staticize non-exported symbols Axel Lin
2011-12-20 10:03 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.