Skip to contentSkip to conversation

cs5535: CS5535_MFGPT_DEFAULT_IRQ should depend on CS5535_MFGPT

PATCH In review Geert Uytterhoeven 2 participants 2 messages Dec 15, 2009 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cs5535: CS5535_MFGPT_DEFAULT_IRQ should depend on CS5535_MFGPT

Quoted 1 line

From 707c6b36fcf474c31f57a55fa983f3e1db59cf56 Mon Sep 17 00:00:00 2001

From: Geert Uytterhoeven <[email protected]>
Date: Tue, 15 Dec 2009 21:52:59 +0100
Subject: [PATCH] cs5535: CS5535_MFGPT_DEFAULT_IRQ should depend on CS5535_MFGPT

It doesn't make much sense to have CS5535_MFGPT_DEFAULT_IRQ show up in configs that cannot have CS5535_MFGPT.

---
 drivers/misc/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/misc/Kconfig +1 -0
index 59f4ba1..d4beee2 100644
@@ -203,6 +203,7 @@ config CS5535_MFGPT
 
 config CS5535_MFGPT_DEFAULT_IRQ
 	int
+	depends on CS5535_MFGPT
 	default 7
 	help
 	  MFGPTs on the CS5535 require an interrupt.  The selected IRQ
Signature · 12 lines
1.6.0.4

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
Acked-by on v1 1/1
#1 lore raw
Quoted 27 lines · On Tue, 15 Dec 2009 22:02:09 +0100 (CET) Geert Uytterhoeven…

From 707c6b36fcf474c31f57a55fa983f3e1db59cf56 Mon Sep 17 00:00:00 2001
From: Geert Uytterhoeven <[email protected]>
Date: Tue, 15 Dec 2009 21:52:59 +0100
Subject: [PATCH] cs5535: CS5535_MFGPT_DEFAULT_IRQ should depend on CS5535_MFGPT

It doesn't make much sense to have CS5535_MFGPT_DEFAULT_IRQ show up in configs that cannot have CS5535_MFGPT.

---
 drivers/misc/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/misc/Kconfig +1 -0
index 59f4ba1..d4beee2 100644
@@ -203,6 +203,7 @@ config CS5535_MFGPT
 
 config CS5535_MFGPT_DEFAULT_IRQ
 	int
+	depends on CS5535_MFGPT
 	default 7
 	help
 	  MFGPTs on the CS5535 require an interrupt.  The selected

IRQ