From: Fabio Estevam Date: Mon, 11 Feb 2013 14:01:48 +0000 (-0200) Subject: ARM: mxs: ocotp: Fix sparse warning X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=95381f38c0ed85be732553bf56f613ce701d411b;p=deliverable%2Flinux.git ARM: mxs: ocotp: Fix sparse warning Include header to fix the following sparse warning: arch/arm/mach-mxs/ocotp.c:33:11: warning: symbol 'mxs_get_ocotp' was not declared. Should it be static? Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo --- diff --git a/arch/arm/mach-mxs/ocotp.c b/arch/arm/mach-mxs/ocotp.c index 54add60f94c9..1dff46703753 100644 --- a/arch/arm/mach-mxs/ocotp.c +++ b/arch/arm/mach-mxs/ocotp.c @@ -19,6 +19,7 @@ #include /* for cpu_relax() */ #include +#include #define OCOTP_WORD_OFFSET 0x20 #define OCOTP_WORD_COUNT 0x20