* [PATCH 1/1] regulator: ltc3589: Staticize ltc3589_reg_defaults
@ 2014-06-10 6:34 Sachin Kamat
2014-06-21 10:33 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2014-06-10 6:34 UTC (permalink / raw)
To: linux-kernel; +Cc: lgirdwood, broonie, spk.linux, p.zabel
'ltc3589_reg_defaults' is local to this file. Make it static.
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] regulator: ltc3589: Staticize ltc3589_reg_defaults
2014-06-10 6:34 [PATCH 1/1] regulator: ltc3589: Staticize ltc3589_reg_defaults Sachin Kamat
@ 2014-06-21 10:33 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-06-21 10:33 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-kernel, lgirdwood, spk.linux, p.zabel
[-- Attachment #1: Type: text/plain, Size: 144 bytes --]
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.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-21 10:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-10 6:34 [PATCH 1/1] regulator: ltc3589: Staticize ltc3589_reg_defaults Sachin Kamat
2014-06-21 10:33 ` 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.