From: Ezequiel Garcia Date: Mon, 3 Mar 2014 16:42:40 +0000 (-0300) Subject: UBI: block: Add CONFIG_BLOCK dependency X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=22d3ee5c48cbae136cb44aa812c562117ff6df29;p=linux-beck.git UBI: block: Add CONFIG_BLOCK dependency The UBI block driver depends on the block infrastructure. Add the proper dependency and fix a build error when CONFIG_BLOCK is not selected. Reported-by: kbuild test robot Signed-off-by: Ezequiel Garcia Signed-off-by: Artem Bityutskiy --- diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig index 783fb186d876..f0855ce08ed9 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig @@ -90,6 +90,7 @@ config MTD_UBI_GLUEBI config MTD_UBI_BLOCK bool "Read-only block devices on top of UBI volumes" default n + depends on BLOCK help This option enables read-only UBI block devices support. UBI block devices will be layered on top of UBI volumes, which means that the