lkml.org 
[lkml]   [2011]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] arm/mxs: Fix build failure on ocotp.c
From
Date
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


\
 
 \ /
  Last update: 2011-06-06 09:43    [W:0.058 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site