pinctrl: sh-pfc: r8a73a4: Allow Multiplatform Build
authorMagnus Damm <damm+renesas@opensource.se>
Tue, 13 May 2014 11:37:49 +0000 (13:37 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 22 May 2014 22:01:52 +0000 (00:01 +0200)
Add #ifdefs to allow r8a73a4 Multiplatform build. Needed
to enable r8a73a4 Multiplatform support.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/pfc-r8a73a4.c

index d39ca87353e4cf723dc5f5626dba93fa6aa6467e..ce9fb7aa8ba36c7114921f134c75d38d6f72670b 100644 (file)
 #include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/pinctrl/pinconf-generic.h>
+
+#ifndef CONFIG_ARCH_MULTIPLATFORM
 #include <mach/irqs.h>
+#endif
 
 #include "core.h"
 #include "sh_pfc.h"