diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-02-11 15:48:00 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-02-13 18:26:36 -0500 |
commit | 75177deee91c17b374b827a832c0d2061ce0f07e (patch) | |
tree | c8e847f6139f0498199d9b3a26853493e81f98af /drivers/mfd | |
parent | 1765dbccaa5aa2db7b53dc765f0e636591876c03 (diff) |
mfd: syscon: Fix sparse warning
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@linaro.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/syscon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index 3f10591ea94e..61aea6381cdf 100644 --- a/drivers/mfd/syscon.c +++ b/drivers/mfd/syscon.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/of_platform.h> | 20 | #include <linux/of_platform.h> |
21 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
22 | #include <linux/regmap.h> | 22 | #include <linux/regmap.h> |
23 | #include <linux/mfd/syscon.h> | ||
23 | 24 | ||
24 | static struct platform_driver syscon_driver; | 25 | static struct platform_driver syscon_driver; |
25 | 26 | ||