mtd: ts5500: Add dependency

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sat Apr 5 02:59:02 EDT 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f4f6a0be01498f42b023d5aa71275bc05478d331
Commit:     f4f6a0be01498f42b023d5aa71275bc05478d331
Parent:     c69dbbf3335a21aae74376d7e5db50a486d52439
Author:     Jean Delvare <jdelvare at suse.de>
AuthorDate: Sun Feb 23 10:32:01 2014 +0100
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Mar 10 22:42:27 2014 -0700

    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 at suse.de>
    Cc: David Woodhouse <dwmw2 at infradead.org>
    Cc: Vivien Didelot <vivien.didelot at savoirfairelinux.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/maps/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 310dc7c..179c6e1 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



More information about the linux-mtd-cvs mailing list