summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-23 10:24:36 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-23 10:24:36 +0100
commit892e4fba1cb5cdc70f3acc65e024e541c0b2d559 (patch)
tree0afa420b54842f9ac0fb048bcc0c316f3560c2b7 /drivers/mtd
parent734a56285dbeedc6cc10aef6f700eeab7c65ea9f (diff)
downloadlinux-3.10-892e4fba1cb5cdc70f3acc65e024e541c0b2d559.tar.gz
linux-3.10-892e4fba1cb5cdc70f3acc65e024e541c0b2d559.tar.bz2
linux-3.10-892e4fba1cb5cdc70f3acc65e024e541c0b2d559.zip
[MTD] Fix dependencies with CONFIG_MTD=m
CMDLINEPARTS shouldn't be selectable, and neither should SSFDC, which can be a tristate anyway. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 717e90448fc..a03e862851d 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -101,7 +101,7 @@ config MTD_REDBOOT_PARTS_READONLY
config MTD_CMDLINE_PARTS
bool "Command line partition table parsing"
- depends on MTD_PARTITIONS = "y"
+ depends on MTD_PARTITIONS = "y" && MTD = "y"
---help---
Allow generic configuration of the MTD partition tables via the kernel
command line. Multiple flash resources are supported for hardware where
@@ -264,7 +264,7 @@ config RFD_FTL
http://www.gensw.com/pages/prod/bios/rfd.htm
config SSFDC
- bool "NAND SSFDC (SmartMedia) read only translation layer"
+ tristate "NAND SSFDC (SmartMedia) read only translation layer"
depends on MTD
default n
help