| From 02dc6a2a08769384391a5522a98008632e7c1cf4 Mon Sep 17 00:00:00 2001 |
| From: Magnus Damm <damm+renesas@opensource.se> |
| Date: Tue, 13 May 2014 13:37:48 +0200 |
| Subject: 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> |
| (cherry picked from commit 672d32377494b84d6af483ce46eda07baba4e3ea) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c |
| index 6f6ba100994d..ee370de4609a 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" |
| -- |
| 2.1.2 |
| |