bus: TI sysc driver requires DM
authorPaul Barker <paul.barker@sancloud.com>
Mon, 14 Nov 2022 12:42:36 +0000 (12:42 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 2 Dec 2022 13:39:00 +0000 (08:39 -0500)
This driver does not build if CONFIG_DM is disabled as it uses the
function `dev_get_priv`.

Signed-off-by: Paul Barker <paul.barker@sancloud.com>
drivers/bus/Kconfig

index d742ed3..c607d24 100644 (file)
@@ -13,7 +13,7 @@ config TI_PWMSS
 
 config TI_SYSC
        bool "TI sysc interconnect target module driver"
-       depends on ARCH_OMAP2PLUS
+       depends on DM && ARCH_OMAP2PLUS
        help
          Generic driver for Texas Instruments interconnect target module
          found on many TI SoCs.