mtd: spi-nor: allow to be built as module

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jun 10 23:59:05 PDT 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=8ac326fce996893cadc0f161207f4069fdbaa2cd
Commit:     8ac326fce996893cadc0f161207f4069fdbaa2cd
Parent:     6c8e1b33aac94c1923b1b5acc54644094a9b6a78
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Thu Apr 10 11:05:34 2014 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Apr 14 11:23:02 2014 -0700

    mtd: spi-nor: allow to be built as module
    
    There's no reason this can't be a module. Also, give SPI-NOR its own
    submenu.
    
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
    Reviewed-by: Marek Vasut <marex at denx.de>
---
 drivers/mtd/spi-nor/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
index d682fb4..f8acfa4 100644
--- a/drivers/mtd/spi-nor/Kconfig
+++ b/drivers/mtd/spi-nor/Kconfig
@@ -1,5 +1,5 @@
-config MTD_SPI_NOR
-	bool "SPI-NOR device support"
+menuconfig MTD_SPI_NOR
+	tristate "SPI-NOR device support"
 	depends on MTD
 	help
 	  This is the framework for the SPI NOR which can be used by the SPI



More information about the linux-mtd-cvs mailing list