[RFC/PATCH] mtd: Hide CONFIG_MTD_BLKDEVS from the menu

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Sun Jan 5 12:37:57 EST 2014


On Sun, Jan 05, 2014 at 12:46:10AM -0800, Brian Norris wrote:
> 
> Hmm, I'm seeing some issues with this patch. I think it's problematic
> that you are changing MTD_BLKDEVS from tristate to bool. We can't have
[..]
> 
> I believe the correct solution would be the following additional diff:
> 
> diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
> index cdaa4e512c97..5ebcda39f554 100644
> --- a/drivers/mtd/Kconfig
> +++ b/drivers/mtd/Kconfig
> @@ -161,7 +161,7 @@ comment "User Modules And Translation Layers"
>  # MTD block device support is select'ed if needed
>  #
>  config MTD_BLKDEVS
> -	bool
> +	tristate
>  
>  config MTD_BLOCK
>  	tristate "Caching block device access to MTD devices"
> --
> 
> I'll squash this into your patch if I don't hear any objections.
> 

The solution looks fine. Thanks for taking care of it.
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com



More information about the linux-mtd mailing list