summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2014-05-13 13:37:48 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-23 00:01:52 +0200
commit672d32377494b84d6af483ce46eda07baba4e3ea (patch)
tree05b8063d623c5029c89e9e0033b447a99d5bf85f /drivers/pinctrl
parentb6c996a295620b67e4033f2eb07e5a5cf9e7a48f (diff)
downloadop-kernel-dev-672d32377494b84d6af483ce46eda07baba4e3ea.zip
op-kernel-dev-672d32377494b84d6af483ce46eda07baba4e3ea.tar.gz
pinctrl: sh-pfc: sh73a0: Allow Multiplatform Build
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-sh73a0.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c
index 6f6ba10..ee370de 100644
--- a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c
+++ b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c
@@ -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"
OpenPOWER on IntegriCloud