From: Fabio Estevam Date: Mon, 11 Feb 2013 20:48:00 +0000 (-0200) Subject: mfd: syscon: Fix sparse warning X-Git-Tag: v3.9-rc1~92^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75177deee91c17b374b827a832c0d2061ce0f07e;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Fabio Estevam Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index 3f10591ea94e9..61aea6381cdf3 100644 --- a/drivers/mfd/syscon.c +++ b/drivers/mfd/syscon.c @@ -20,6 +20,7 @@ #include #include #include +#include static struct platform_driver syscon_driver;