arm/mxs: Fix build failure on ocotp.c
Subsystems (3)
PATCH 1/1 arm/mxs: Fix build failure on ocotp.c
arch/arm/mach-mxs/ocotp.c needs to include asm/processor.h to get the definition of cpu_relax().
Signed-off-by Grant Likely <[email protected]>
--- arch/arm/mach-mxs/ocotp.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-mxs/ocotp.c +2 -0
@@ -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
Quoted 13 lines · Grant Likely
arch/arm/mach-mxs/ocotp.cneeds to includeasm/processor.hto get the definition ofcpu_relax().Signed-off-by Grant Likely <[email protected]>--- arch/arm/mach-mxs/ocotp.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)arch/arm/mach-mxs/ocotp.c +0
-0
arch/arm/mach-mxs/ocotp.c
Quoted 10 lines
arch/arm/mach-mxs/ocotp.c +2
-1@@ -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 --
Wolfram had sent a fix for this. But it has not hit the mainline.
https://patchwork.kernel.org/patch/815482/
Signature · 2 lines
Regards, Shawn