summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-02-23 10:32:01 +0100
committerBrian Norris <computersforpeace@gmail.com>2014-03-10 22:42:27 -0700
commitf4f6a0be01498f42b023d5aa71275bc05478d331 (patch)
treed3977799aa76224ba2b1da95a34d733cbcd52f29 /drivers/mtd/maps
parentc69dbbf3335a21aae74376d7e5db50a486d52439 (diff)
downloadlinux-f4f6a0be01498f42b023d5aa71275bc05478d331.tar.bz2
mtd: ts5500: Add dependency
There is no point in displaying the TS5500-specific driver entries if TS5500 board support itself isn't enabled. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r--drivers/mtd/maps/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 310dc7c93425..179c6e124701 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -124,7 +124,7 @@ config MTD_NETSC520
config MTD_TS5500
tristate "JEDEC Flash device mapped on Technologic Systems TS-5500"
- depends on X86
+ depends on TS5500 || COMPILE_TEST
select MTD_JEDECPROBE
select MTD_CFI_AMDSTD
help