aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-03-03 11:42:40 -0500
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-03-04 07:49:53 -0500
commit22d3ee5c48cbae136cb44aa812c562117ff6df29 (patch)
tree4657c31bc40b774fdb569af82dbc13bf0c34d8f1
parent9981e14ab2f7c6a4d2bb45e51a6371964919837d (diff)
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 <fengguang.wu@intel.com> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rw-r--r--drivers/mtd/ubi/Kconfig1
1 files changed, 1 insertions, 0 deletions
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
90config MTD_UBI_BLOCK 90config MTD_UBI_BLOCK
91 bool "Read-only block devices on top of UBI volumes" 91 bool "Read-only block devices on top of UBI volumes"
92 default n 92 default n
93 depends on BLOCK
93 help 94 help
94 This option enables read-only UBI block devices support. UBI block 95 This option enables read-only UBI block devices support. UBI block
95 devices will be layered on top of UBI volumes, which means that the 96 devices will be layered on top of UBI volumes, which means that the