diff options
author | G, Manjunath Kondaiah <manjugk@ti.com> | 2010-09-21 06:01:17 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-10-28 18:29:39 -0400 |
commit | 2cfcce18bb09667f583f4a29e814cbadf1d4e525 (patch) | |
tree | 985019739891ca6a2908ee3d001e23078fafddd5 /drivers/mfd | |
parent | 6901ffd97d3d820c608dd579dd908ac77128efef (diff) |
mfd: Fix twl-core sparse warning
Fixes below sparse warning.
drivers/mfd/twl-core.c:258:20: warning: symbol 'twl_map' was not declared. Should it be static?
Signed-off-by: G, Manjunath Kondaiah <manjugk@ti.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Tony Lindgren <tony@atomide.com>
Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/twl-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index b0f2c0004efe..e77e1ffd26a9 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c | |||
@@ -249,7 +249,7 @@ struct twl_mapping { | |||
249 | unsigned char sid; /* Slave ID */ | 249 | unsigned char sid; /* Slave ID */ |
250 | unsigned char base; /* base address */ | 250 | unsigned char base; /* base address */ |
251 | }; | 251 | }; |
252 | struct twl_mapping *twl_map; | 252 | static struct twl_mapping *twl_map; |
253 | 253 | ||
254 | static struct twl_mapping twl4030_map[TWL4030_MODULE_LAST + 1] = { | 254 | static struct twl_mapping twl4030_map[TWL4030_MODULE_LAST + 1] = { |
255 | /* | 255 | /* |