ARM: shmobile: Rework multiplatform include workaround
authorMagnus Damm <damm+renesas@opensource.se>
Thu, 31 Jul 2014 00:25:15 +0000 (09:25 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 20 Aug 2014 00:09:22 +0000 (09:09 +0900)
Now when the majority of the include files have moved from
arch/arm/mach-shmobile/include/mach/ to arch/arm/mach-shmobile/
remove the header include file workaround in the Makefile...

... and add another workaround in irqs.h to 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 <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/irqs.h

index fe3878a1a69a04a063ac7c4c129d93d0193ff987..a6a1dc0335aef22a68a292ef8b2087afd978f17a 100644 (file)
@@ -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.o
 
index 4ff2d2aa94f0919cca87ae5fe9671faa23761815..8e28223f1b3cfc0192602774df59fbfe1e3790f6 100644 (file)
@@ -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)