]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
gpio: em: depnd on ARCH_SHMOBILE
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 20 Nov 2016 17:48:36 +0000 (17:48 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Nov 2016 15:18:42 +0000 (16:18 +0100)
The GPIO_EM is part of the Renesas SoCs so depend on the arch.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
[Changed to depend on ARCH_EMEV2]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index 3d39ff7a559463a9b9de217887d26d07844b6539..28ed4ccc15b43b42f7a4cba05d1295a89052fe32 100644 (file)
@@ -171,7 +171,7 @@ config GPIO_DWAPB
 
 config GPIO_EM
        tristate "Emma Mobile GPIO"
-       depends on ARM && OF_GPIO
+       depends on (ARCH_EMEV2 || COMPILE_TEST) && OF_GPIO
        help
          Say yes here to support GPIO on Renesas Emma Mobile SoCs.