Skip to content

Commit

Permalink
ARM: shmobile: Rework multiplatform include workaround
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Magnus Damm authored and Simon Horman committed Aug 20, 2014
1 parent 9b0fd79 commit f2acab5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-shmobile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f2acab5

Please sign in to comment.