From 2978e716b2d6682514903920cc61758707c0a5c5 Mon Sep 17 00:00:00 2001 From: John Watts Date: Thu, 11 Apr 2024 15:05:48 +1000 Subject: [PATCH] ubi: Depend on MTD UBI required MTD to build correctly, add it as a Kconfig dependency. Link: https://lore.kernel.org/all/20240411-mtd-v1-1-fe300f6ab657@jookia.org Signed-off-by: John Watts Reviewed-by: Michael Trimarchi Reviewed-by: Heiko Schocher Signed-off-by: Dario Binacchi --- drivers/mtd/ubi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig index 5783d36c04..fd446d6efb 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig @@ -9,6 +9,7 @@ config UBI_SILENCE_MSG config MTD_UBI bool "Enable UBI - Unsorted block images" + depends on MTD select RBTREE select MTD_PARTITIONS help -- 2.39.5