pinctrl: mvebu: Make drivers depend on the pinctrl framework
authorMiquel Raynal <miquel.raynal@free-electrons.com>
Fri, 29 Dec 2017 14:31:56 +0000 (15:31 +0100)
committerStefan Roese <sr@denx.de>
Tue, 9 Jan 2018 15:41:00 +0000 (16:41 +0100)
Armada pinctrl drivers shall not be compiled without the entire pinctrl
framework and thus lack a "depends on" condition, otherwise the driver
will simply not be probed.

Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/pinctrl/mvebu/Kconfig

index a9388ff..07d4f3e 100644 (file)
@@ -1,14 +1,14 @@
 if ARCH_MVEBU
 
 config PINCTRL_ARMADA_37XX
-       depends on ARMADA_3700
+       depends on ARMADA_3700 && PINCTRL_FULL
        bool "Armada 37xx pin control driver"
        help
           Support pin multiplexing and pin configuration control on
           Marvell's Armada-37xx SoC.
 
 config PINCTRL_ARMADA_8K
-       depends on ARMADA_8K
+       depends on ARMADA_8K && PINCTRL_FULL
        bool "Armada 7k/8k pin control driver"
        help
           Support pin multiplexing and pin configuration control on