ARM: shmobile: Rework multiplatform include workaround
Quoted 6 lines · Magnus Damm
From: Magnus Damm <[email protected]>
Now when the majority of the include files have moved from
arch/arm/mach-shmobile/include/mach/toarch/arm/mach-shmobile/remove the header include file workaround in theMakefile...
Quoted 8 lines
... and add another workaround in
irqs.hto cope with the fact that <mach/irqs.h> needs to be where it is until the PFC code has been updated to remove legacy non-DT interfaces.Signed-off-by Magnus Damm <[email protected]>---
Written against renesas-devel-v3.16-rc7-20140729
Thanks, I have queued this up as a cleanup for v3.18.
Quoted 28 lines
arch/arm/mach-shmobile/Makefile | 2 -- arch/arm/mach-shmobile/irqs.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)arch/arm/mach-shmobile/Makefile +0
-2@@ -2,8 +2,6 @@ # Makefile for the linux kernel. # -ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/mach-shmobile/include - # Common objects obj-y := timer.o console.oarch/arm/mach-shmobile/irqs.h +1
-1@@ -2,7 +2,7 @@#define __SHMOBILE_IRQS_H#include <linux/sh_intc.h> -#include <mach/irqs.h> +#include "include/mach/irqs.h" /* GIC */ #define gic_spi (nr) ((nr) + 32)