While the driver is only useful for i.MX7 and 8M, it can be compiled for other platforms as well, so add COMPILE_TEST as alternative dependency. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/pmdomain/imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pmdomain/imx/Kconfig b/drivers/pmdomain/imx/Kconfig index ba5fffd274fa..c0d767eb8f3c 100644 --- a/drivers/pmdomain/imx/Kconfig +++ b/drivers/pmdomain/imx/Kconfig @@ -3,7 +3,7 @@ menu "i.MX PM Domains" config IMX_GPCV2_PM_DOMAINS bool "i.MX GPCv2 PM domains" - depends on ARCH_IMX7 || ARCH_IMX8M + depends on ARCH_IMX7 || ARCH_IMX8M || COMPILE_TEST select PM_GENERIC_DOMAINS default y if ARCH_IMX7 || ARCH_IMX8M -- 2.39.2