Browse Source

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@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Brian Norris 11 years ago
parent
commit
8ac326fce9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/mtd/spi-nor/Kconfig

+ 2 - 2
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
 	depends on MTD
 	help
 	help
 	  This is the framework for the SPI NOR which can be used by the SPI
 	  This is the framework for the SPI NOR which can be used by the SPI