From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from top.free-electrons.com ([176.31.233.9] helo=mail.free-electrons.com) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VtoFT-00026N-P7 for linux-mtd@lists.infradead.org; Fri, 20 Dec 2013 00:47:28 +0000 Date: Thu, 19 Dec 2013 21:47:13 -0300 From: Ezequiel Garcia To: linux-mtd@lists.infradead.org Subject: Re: [RFC/PATCH] mtd: Hide CONFIG_MTD_BLKDEVS from the menu Message-ID: <20131220004712.GA12803@localhost> References: <1386943124-8005-1-git-send-email-ezequiel.garcia@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1386943124-8005-1-git-send-email-ezequiel.garcia@free-electrons.com> Cc: Brian Norris , David Woodhouse , Artem Bityutskiy List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Dec 13, 2013 at 10:58:44AM -0300, Ezequiel Garcia wrote: > Make this option a hidden one and get a cleaner configuration. > This option just selects a common infrastructure for MTD-based devices > to expose a block interface. There is no point in allowing a separate > enable/disable. > > Signed-off-by: Ezequiel Garcia > --- > drivers/mtd/Kconfig | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig > index 5fab4e6e..2a0ca2a 100644 > --- a/drivers/mtd/Kconfig > +++ b/drivers/mtd/Kconfig > @@ -158,9 +158,7 @@ config MTD_BCM47XX_PARTS > comment "User Modules And Translation Layers" > > config MTD_BLKDEVS > - tristate "Common interface to block layer for MTD 'translation layers'" > - depends on BLOCK > - default n > + bool > > config MTD_BLOCK > tristate "Caching block device access to MTD devices" > -- > 1.8.1.5 > Any comments on this one? -- Ezequiel GarcĂ­a, Free Electrons Embedded Linux, Kernel and Android Engineering http://free-electrons.com