Skip to content

Commit

Permalink
ARM: mxs: ocotp: Fix sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Shawn Guo committed Mar 4, 2013
1 parent f26b016 commit 95381f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-mxs/ocotp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95381f3

Please sign in to comment.