pinctrl: sh-pfc: sh73a0: Allow Multiplatform Build
authorMagnus Damm <damm+renesas@opensource.se>
Tue, 13 May 2014 11:37:48 +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 sh73a0 Multiplatform build. Needed
to enable sh73a0 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-sh73a0.c

index 6f6ba100994df7deb1bdd3ca00d121f1c249f203..ee370de4609aa17bfec30f8ef0518a45be0462c7 100644 (file)
@@ -26,7 +26,9 @@
 #include <linux/regulator/machine.h>
 #include <linux/slab.h>
 
+#ifndef CONFIG_ARCH_MULTIPLATFORM
 #include <mach/irqs.h>
+#endif
 
 #include "core.h"
 #include "sh_pfc.h"