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:
Tom Rini
2025-01-14 19:22:12 -06:00
parent a72fa7f2fe
commit 09cf580029
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ config MTD_CONCAT
config MTD_BLOCK
bool "Enable block device access to MTD devices"
depends on BLK
select BLK
help
Enable support for block device access to MTD devices
using blk_ops abstraction.

View File

@@ -116,7 +116,7 @@ config MTD_UBI_FM_DEBUG
config UBI_BLOCK
bool "Enable UBI block device support"
depends on BLK
select BLK
help
Enable UBI block device support using blk_ops abstraction.