pinctrl: freescale: Depend imx-scu driver on OF

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>
Link: https://lore.kernel.org/20250514131342.755840-1-alexander.stein@ew.tq-group.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Alexander Stein 2025-05-14 15:13:39 +02:00 committed by Linus Walleij
parent 8cefeddf9a
commit 939be10e5e

View File

@ -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