OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f26b016
)
ARM: mxs: ocotp: Fix sparse warning
author
Fabio Estevam
<fabio.estevam@freescale.com>
Mon, 11 Feb 2013 14:01:48 +0000
(12:01 -0200)
committer
Shawn 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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-mxs/ocotp.c
b/arch/arm/mach-mxs/ocotp.c
index
54add60
..
1dff467
100644
(file)
--- 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