mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] mfd: timberdale: Staticize local variables
@ 2013-08-23 10:11 Sachin Kamat
  2013-08-23 10:11 ` [PATCH 2/3] mfd: timberdale: Remove redundant break Sachin Kamat
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sachin Kamat @ 2013-08-23 10:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: lee.jones, sameo, sachin.kamat

Local variables referenced only in this file are made static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/mfd/timberdale.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/timberdale.c b/drivers/mfd/timberdale.c
index 0c1fcbc..4c9c149 100644
--- a/drivers/mfd/timberdale.c
+++ b/drivers/mfd/timberdale.c
@@ -115,11 +115,11 @@ static const struct resource timberdale_ocores_resources[] = {
 	},
 };
 
-const struct max7301_platform_data timberdale_max7301_platform_data = {
+static const struct max7301_platform_data timberdale_max7301_platform_data = {
 	.base = 200
 };
 
-const struct mc33880_platform_data timberdale_mc33880_platform_data = {
+static const struct mc33880_platform_data timberdale_mc33880_platform_data = {
 	.base = 100
 };
 
-- 
1.7.4.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-23 10:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-23 10:11 [PATCH 1/3] mfd: timberdale: Staticize local variables Sachin Kamat
2013-08-23 10:11 ` [PATCH 2/3] mfd: timberdale: Remove redundant break Sachin Kamat
2013-08-23 10:11 ` [PATCH 3/3] mfd: timberdale: Use module_pci_driver Sachin Kamat
2013-08-23 10:39 ` [PATCH 1/3] mfd: timberdale: Staticize local variables Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®