[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1360615681-19909-1-git-send-email-festevam@gmail.com>
Date: Mon, 11 Feb 2013 18:48:00 -0200
From: Fabio Estevam <festevam@...il.com>
To: sameo@...ux.intel.com
Cc: linux-kernel@...r.kernel.org,
Fabio Estevam <fabio.estevam@...escale.com>,
Dong Aisheng <dong.aisheng@...aro.org>
Subject: [PATCH 1/2] mfd: syscon: Fix sparse warning
From: Fabio Estevam <fabio.estevam@...escale.com>
Fix the following sparse warnings:
drivers/mfd/syscon.c:40:15: warning: symbol 'syscon_node_to_regmap' was not declared. Should it be static?
drivers/mfd/syscon.c:56:15: warning: symbol 'syscon_regmap_lookup_by_compatible' was not declared. Should it be static?
drivers/mfd/syscon.c:72:15: warning: symbol 'syscon_regmap_lookup_by_phandle' was not declared. Should it be static?
Cc: Dong Aisheng <dong.aisheng@...aro.org>
Signed-off-by: Fabio Estevam <fabio.estevam@...escale.com>
---
drivers/mfd/syscon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c
index 3f10591..61aea63 100644
--- a/drivers/mfd/syscon.c
+++ b/drivers/mfd/syscon.c
@@ -20,6 +20,7 @@
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
+#include <linux/mfd/syscon.h>
static struct platform_driver syscon_driver;
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists