Commit 22d3ee5c48cbae136cb44aa812c562117ff6df29
Committed by
Artem Bityutskiy
1 parent
9981e14ab2
Exists in
master
and in
13 other branches
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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/mtd/ubi/Kconfig
... | ... | @@ -90,6 +90,7 @@ |
90 | 90 | config MTD_UBI_BLOCK |
91 | 91 | bool "Read-only block devices on top of UBI volumes" |
92 | 92 | default n |
93 | + depends on BLOCK | |
93 | 94 | help |
94 | 95 | This option enables read-only UBI block devices support. UBI block |
95 | 96 | devices will be layered on top of UBI volumes, which means that the |