summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mxs
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-02-11 18:01:48 +0400
committerShawn Guo <shawn.guo@linaro.org>2013-03-04 06:07:28 +0400
commit95381f38c0ed85be732553bf56f613ce701d411b (patch)
tree8948a2fbc0d086e6a424c395b06f033d2f00362e /arch/arm/mach-mxs
parentf26b016e7aeeebe793eb03e609baac80e1b02947 (diff)
downloadlinux-95381f38c0ed85be732553bf56f613ce701d411b.tar.xz
ARM: mxs: ocotp: Fix sparse warning
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>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r--arch/arm/mach-mxs/ocotp.c1
1 files changed, 1 insertions, 0 deletions
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 <asm/processor.h> /* for cpu_relax() */
#include <mach/mxs.h>
+#include <mach/common.h>
#define OCOTP_WORD_OFFSET 0x20
#define OCOTP_WORD_COUNT 0x20