2009-12-15 21:02:30

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] cs5535: CS5535_MFGPT_DEFAULT_IRQ should depend on CS5535_MFGPT

>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.

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
drivers/misc/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 59f4ba1..d4beee2 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -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
--
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


2009-12-15 21:14:58

by Andres Salomon

[permalink] [raw]
Subject: Re: [PATCH] cs5535: CS5535_MFGPT_DEFAULT_IRQ should depend on CS5535_MFGPT

Acked-by: Andres Salomon <[email protected]>

On Tue, 15 Dec 2009
22:02:09 +0100 (CET) Geert Uytterhoeven <[email protected]> wrote:

> 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.
>
> Signed-off-by: Geert Uytterhoeven <[email protected]>
> ---
> drivers/misc/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> index 59f4ba1..d4beee2 100644
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -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