pinctrl: actions: Add the platform dependency to drivers
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 21 Jan 2021 06:25:47 +0000 (11:55 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 22 Jan 2021 13:17:27 +0000 (14:17 +0100)
The Actions Semi pinctrl drivers are a mix of both ARM32 and ARM64
platforms. So let's add the correct platform dependency to avoid them
being selected on the other.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20210121062547.27173-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/actions/Kconfig

index a1d16e8..8bb8345 100644 (file)
@@ -12,18 +12,21 @@ config PINCTRL_OWL
 
 config PINCTRL_S500
        bool "Actions Semi S500 pinctrl driver"
+       depends on ARM
        depends on PINCTRL_OWL
        help
          Say Y here to enable Actions Semi S500 pinctrl driver
 
 config PINCTRL_S700
        bool "Actions Semi S700 pinctrl driver"
+       depends on ARM64
        depends on PINCTRL_OWL
        help
          Say Y here to enable Actions Semi S700 pinctrl driver
 
 config PINCTRL_S900
        bool "Actions Semi S900 pinctrl driver"
+       depends on ARM64
        depends on PINCTRL_OWL
        help
          Say Y here to enable Actions Semi S900 pinctrl driver