diff mbox

[v2] mtd/ts5500: Add dependency

Message ID 20140223103201.73f63642@endymion.delvare
State Accepted
Commit f4f6a0be01498f42b023d5aa71275bc05478d331
Headers show

Commit Message

Jean Delvare Feb. 23, 2014, 9:32 a.m. UTC
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: Brian Norris <computersforpeace@gmail.com>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
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(-)

Comments

Brian Norris Feb. 23, 2014, 10:31 p.m. UTC | #1
On Sun, Feb 23, 2014 at 10:32:01AM +0100, Jean Delvare wrote:
> 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: Brian Norris <computersforpeace@gmail.com>
> Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
> ---
> Changes in v2:
>  * Drop the dependency on X86, as suggested by Brian Norris.

Pushed to l2-mtd.git. Thanks!

Brian
diff mbox

Patch

--- linux-3.14-rc3.orig/drivers/mtd/maps/Kconfig	2014-02-14 11:29:36.596309168 +0100
+++ linux-3.14-rc3/drivers/mtd/maps/Kconfig	2014-02-23 10:28:54.759439022 +0100
@@ -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