summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorG, Manjunath Kondaiah <manjugk@ti.com>2010-09-21 15:31:17 +0530
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 00:29:39 +0200
commit2cfcce18bb09667f583f4a29e814cbadf1d4e525 (patch)
tree985019739891ca6a2908ee3d001e23078fafddd5 /drivers
parent6901ffd97d3d820c608dd579dd908ac77128efef (diff)
downloadlinux-2cfcce18bb09667f583f4a29e814cbadf1d4e525.tar.bz2
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')
-rw-r--r--drivers/mfd/twl-core.c2
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 {
unsigned char sid; /* Slave ID */
unsigned char base; /* base address */
};
-struct twl_mapping *twl_map;
+static struct twl_mapping *twl_map;
static struct twl_mapping twl4030_map[TWL4030_MODULE_LAST + 1] = {
/*