UBI: block: Add CONFIG_BLOCK dependency
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 3 Mar 2014 16:42:40 +0000 (13:42 -0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 4 Mar 2014 12:49:53 +0000 (14:49 +0200)
commit22d3ee5c48cbae136cb44aa812c562117ff6df29
tree4657c31bc40b774fdb569af82dbc13bf0c34d8f1
parent9981e14ab2f7c6a4d2bb45e51a6371964919837d
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>
drivers/mtd/ubi/Kconfig