summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2014-05-13 13:37:47 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-23 00:01:51 +0200
commitb6c996a295620b67e4033f2eb07e5a5cf9e7a48f (patch)
treebb287e455fdfd7bae4131185eadbc6d81baa78d2 /drivers/pinctrl
parent0e26e8dfb9dddb0559fb7cd7b53a8b497a8d4121 (diff)
downloadop-kernel-dev-b6c996a295620b67e4033f2eb07e5a5cf9e7a48f.zip
op-kernel-dev-b6c996a295620b67e4033f2eb07e5a5cf9e7a48f.tar.gz
pinctrl: sh-pfc: r8a7740: Allow Multiplatform Build
Add #ifdefs to allow r8a7740 Multiplatform build. Needed to enable r8a7740 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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-r8a7740.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7740.c b/drivers/pinctrl/sh-pfc/pfc-r8a7740.c
index 6c83ce4..e4c1ef4 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7740.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7740.c
@@ -22,7 +22,9 @@
#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