From 2cfcce18bb09667f583f4a29e814cbadf1d4e525 Mon Sep 17 00:00:00 2001 From: "G, Manjunath Kondaiah" Date: Tue, 21 Sep 2010 15:31:17 +0530 Subject: [PATCH] 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 Cc: linux-arm-kernel@lists.infradead.org Cc: Tony Lindgren Cc: Nishanth Menon Signed-off-by: Samuel Ortiz --- drivers/mfd/twl-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] = { /* -- 2.20.1