2014-06-10 06:37:44

by Sachin Kamat

[permalink] [raw]
Subject: [PATCH 1/1] regulator: ltc3589: Staticize ltc3589_reg_defaults

'ltc3589_reg_defaults' is local to this file. Make it static.

Signed-off-by: Sachin Kamat <[email protected]>
---
drivers/regulator/ltc3589.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/ltc3589.c b/drivers/regulator/ltc3589.c
index 110a99e..217d10d6 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 },
--
1.7.9.5


2014-06-21 10:33:55

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH 1/1] regulator: ltc3589: Staticize ltc3589_reg_defaults

On Tue, Jun 10, 2014 at 12:04:53PM +0530, Sachin Kamat wrote:
> 'ltc3589_reg_defaults' is local to this file. Make it static.

Applied, thanks.


Attachments:
(No filename) (144.00 B)
signature.asc (819.00 B)
Digital signature
Download all attachments