From: Jean Delvare Date: Sun, 23 Feb 2014 09:32:01 +0000 (+0100) Subject: mtd: ts5500: Add dependency X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4f6a0be01498f42b023d5aa71275bc05478d331;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: David Woodhouse Cc: Vivien Didelot Signed-off-by: Brian Norris --- 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