CC linux-renesas-soc

On Sun, Nov 20, 2016 at 6:48 PM, Peter Robinson <[email protected]> wrote:
> The GPIO_EM is part of the Renesas SoCs so depend on the arch.
>
> Signed-off-by: Peter Robinson <[email protected]>
> ---
>  drivers/gpio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> v1->v2:
>         - Add COMPILE_TEST
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index d011cb8..a09e237 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -171,7 +171,7 @@ config GPIO_DWAPB
>
>  config GPIO_EM
>         tristate "Emma Mobile GPIO"
> -       depends on ARM && OF_GPIO
> +       depends on (ARCH_SHMOBILE || COMPILE_TEST) && OF_GPIO

For ARM SoCs, ARCH_SHMOBILE is being phased out in favor of ARCH_RENESAS.
Note that ARCH_SHMOBILE is also set for some SuperH SoCs.

However, ARCH_EMEV2 is even more suitable here.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Reply via email to