Message ID | 20250514131342.755840-1-alexander.stein@ew.tq-group.com |
---|---|
State | New |
Headers | show |
Series | [v3,1/2] pinctrl: freescale: Depend imx-scu driver on OF | expand |
On Wed, May 14, 2025 at 3:13 PM Alexander Stein <alexander.stein@ew.tq-group.com> wrote: > Although the driver itself does not depend on OF itself, it selects > PINCTRL_IMX which depends on OF. So only select PINCTRL_IMX if OF is > already selected to ensure dependencies are met. > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Both patches applied. Yours, Linus Walleij
diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig index 4c420b21b804d..d1610e2f21427 100644 --- a/drivers/pinctrl/freescale/Kconfig +++ b/drivers/pinctrl/freescale/Kconfig @@ -20,6 +20,7 @@ config PINCTRL_IMX_SCMI config PINCTRL_IMX_SCU tristate + depends on OF depends on IMX_SCU || COMPILE_TEST select PINCTRL_IMX
Although the driver itself does not depend on OF itself, it selects PINCTRL_IMX which depends on OF. So only select PINCTRL_IMX if OF is already selected to ensure dependencies are met. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> --- Changes in v3: * New patch This fixes the dependency issues found by the kernel testrobot. PINCTRL_IMX_SCU selects PINCTRL_IMX unconditionally of OF which is a hard dependency of the latter one. Thake this into account. drivers/pinctrl/freescale/Kconfig | 1 + 1 file changed, 1 insertion(+)