public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm/mxs: Fix build failure on ocotp.c
@ 2011-06-06  7:40 Grant Likely
  2011-06-06  8:45 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Likely @ 2011-06-06  7:40 UTC (permalink / raw)
  To: linux-arm-kernel

arch/arm/mach-mxs/ocotp.c needs to include asm/processor.h to get the
definition of cpu_relax().

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
 arch/arm/mach-mxs/ocotp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-mxs/ocotp.c b/arch/arm/mach-mxs/ocotp.c
index 65157a3..c7a4d34 100644
--- a/arch/arm/mach-mxs/ocotp.c
+++ b/arch/arm/mach-mxs/ocotp.c
@@ -16,6 +16,8 @@
 #include <linux/err.h>
 #include <linux/mutex.h>
 
+#include <asm/processor.h>
+
 #include <mach/mxs.h>
 
 #define OCOTP_WORD_OFFSET		0x20

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-06  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-06  7:40 [PATCH] arm/mxs: Fix build failure on ocotp.c Grant Likely
2011-06-06  8:45 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox