Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad377c63 authored by Wolfram Sang's avatar Wolfram Sang Committed by Sascha Hauer
Browse files

arm: mxs: include asm/processor.h for cpu_relax()



I get this build error as of today:

arch/arm/mach-mxs/ocotp.c: In function 'mxs_get_ocotp':
arch/arm/mach-mxs/ocotp.c:54: error: implicit declaration of function 'cpu_relax'
make[2]: *** [arch/arm/mach-mxs/ocotp.o] Error 1

Looks like it has been indirectly included before which broke now.
Include it directly.

Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Cc: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 55922c9d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@
#include <linux/err.h>
#include <linux/mutex.h>

#include <asm/processor.h>	/* for cpu_relax() */

#include <mach/mxs.h>

#define OCOTP_WORD_OFFSET		0x20