mtd: rawnand: denali_dt: use UCLASS_MTD instead of UCLASS_MISC
[oweals/u-boot.git] / drivers / mtd / nand / raw / Kconfig
index 7814d84ba01dd1f884efc4c1848b79b18046e079..23201ca720414bec9a7c308c3667e248e2eb696b 100644 (file)
@@ -116,7 +116,7 @@ config NAND_DENALI
 config NAND_DENALI_DT
        bool "Support Denali NAND controller as a DT device"
        select NAND_DENALI
-       depends on OF_CONTROL && DM
+       depends on OF_CONTROL && DM_MTD
        help
          Enable the driver for NAND flash on platforms using a Denali NAND
          controller as a DT device.