summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2014-05-13 13:37:49 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-23 00:01:52 +0200
commitf39d8a72feb073c4ef6296f1d12cedf2ed572bfb (patch)
tree168a2e20c30716db5a0a46ce8934c7dea18ba169
parent672d32377494b84d6af483ce46eda07baba4e3ea (diff)
downloadop-kernel-dev-f39d8a72feb073c4ef6296f1d12cedf2ed572bfb.zip
op-kernel-dev-f39d8a72feb073c4ef6296f1d12cedf2ed572bfb.tar.gz
pinctrl: sh-pfc: r8a73a4: Allow Multiplatform Build
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>
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-r8a73a4.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c b/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c
index d39ca87..ce9fb7a 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c
@@ -20,7 +20,10 @@
#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"
OpenPOWER on IntegriCloud