Skip to content

Commit

Permalink
UBI: block: Add CONFIG_BLOCK dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ezequiel Garcia authored and Artem Bityutskiy committed Mar 4, 2014
1 parent 9981e14 commit 22d3ee5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mtd/ubi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22d3ee5

Please sign in to comment.