summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/Kconfig
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2014-04-10 11:05:34 -0700
committerBrian Norris <computersforpeace@gmail.com>2014-04-14 11:23:02 -0700
commit8ac326fce996893cadc0f161207f4069fdbaa2cd (patch)
treec5c6a8206d029c976b0d4192f28ffc1939048b00 /drivers/mtd/spi-nor/Kconfig
parent6c8e1b33aac94c1923b1b5acc54644094a9b6a78 (diff)
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>
Diffstat (limited to 'drivers/mtd/spi-nor/Kconfig')
-rw-r--r--drivers/mtd/spi-nor/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
index d682fb440e06..f8acfa4310ef 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