Message ID | 20171229143156.18455-1-miquel.raynal@free-electrons.com |
---|---|
State | Accepted |
Commit | 3f3946d30daf9a2dc66d03c6b2b3959ffb18ac40 |
Delegated to: | Stefan Roese |
Headers | show |
Series | [U-Boot] pinctrl: mvebu: Make drivers depend on the pinctrl framework | expand |
On 29.12.2017 15:31, Miquel Raynal wrote: > 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> > --- > drivers/pinctrl/mvebu/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/pinctrl/mvebu/Kconfig b/drivers/pinctrl/mvebu/Kconfig > index a9388ff7e2..07d4f3e216 100644 > --- a/drivers/pinctrl/mvebu/Kconfig > +++ b/drivers/pinctrl/mvebu/Kconfig > @@ -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 > Applied to u-boot-marvell/master Thanks, Stefan
diff --git a/drivers/pinctrl/mvebu/Kconfig b/drivers/pinctrl/mvebu/Kconfig index a9388ff7e2..07d4f3e216 100644 --- a/drivers/pinctrl/mvebu/Kconfig +++ b/drivers/pinctrl/mvebu/Kconfig @@ -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
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> --- drivers/pinctrl/mvebu/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)