Skip to contentSkip to conversation

mtd/ts5500: Add dependency

PATCH Applied Jean Delvare 2 participants 2 messages Feb 23, 2014 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mtd/ts5500: Add dependency

There is no point in displaying the TS5500-specific driver entries if TS5500 board support itself isn't enabled.

Cc David Woodhouse <[email protected]>
Cc Brian Norris <[email protected]>
Cc Vivien Didelot <[email protected]>

---
Changes in v2:
* Drop the dependency on X86, as suggested by Brian Norris.

 drivers/mtd/maps/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/maps/Kconfig +1 -1
@@ -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
Signature · 2 lines
Jean Delvare
Suse L3 Support