mtd: Correct dependency of BLK
In the case of MTD_BLOCK and UBI_BLOCK they should be select'ing BLK as they provide block device functionality and not depending on some other block device already being enabled too (as is the typical case). Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -34,7 +34,7 @@ config MTD_CONCAT
|
|||||||
|
|
||||||
config MTD_BLOCK
|
config MTD_BLOCK
|
||||||
bool "Enable block device access to MTD devices"
|
bool "Enable block device access to MTD devices"
|
||||||
depends on BLK
|
select BLK
|
||||||
help
|
help
|
||||||
Enable support for block device access to MTD devices
|
Enable support for block device access to MTD devices
|
||||||
using blk_ops abstraction.
|
using blk_ops abstraction.
|
||||||
|
@@ -116,7 +116,7 @@ config MTD_UBI_FM_DEBUG
|
|||||||
|
|
||||||
config UBI_BLOCK
|
config UBI_BLOCK
|
||||||
bool "Enable UBI block device support"
|
bool "Enable UBI block device support"
|
||||||
depends on BLK
|
select BLK
|
||||||
help
|
help
|
||||||
Enable UBI block device support using blk_ops abstraction.
|
Enable UBI block device support using blk_ops abstraction.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user