diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-04-10 20:05:34 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-04-14 20:23:02 +0200 |
commit | 8ac326fce996893cadc0f161207f4069fdbaa2cd (patch) | |
tree | c5c6a8206d029c976b0d4192f28ffc1939048b00 /drivers | |
parent | mtd: st_spi_fsm: begin using spi-nor.h opcodes (diff) | |
download | linux-8ac326fce996893cadc0f161207f4069fdbaa2cd.tar.xz linux-8ac326fce996893cadc0f161207f4069fdbaa2cd.zip |
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')
-rw-r--r-- | drivers/mtd/spi-nor/Kconfig | 4 |
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 |