ARM: mxs: ocotp: Fix sparse warning
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 11 Feb 2013 14:01:48 +0000 (12:01 -0200)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 4 Mar 2013 02:07:28 +0000 (10:07 +0800)
Include <mach/common.h> 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 <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/ocotp.c

index 54add60f94c98c5d8d15c119e996395a13b6fc86..1dff46703753f67e96a3efd2a62a29966aba8b71 100644 (file)
@@ -19,6 +19,7 @@
 #include <asm/processor.h>     /* for cpu_relax() */
 
 #include <mach/mxs.h>
+#include <mach/common.h>
 
 #define OCOTP_WORD_OFFSET              0x20
 #define OCOTP_WORD_COUNT               0x20