Re: [PATCH] cs5535: CS5535_MFGPT_DEFAULT_IRQ should depend on CS5535_MFGPT

From: Andres Salomon
Date: Tue Dec 15 2009 - 16:15:05 EST


Acked-by: Andres Salomon <dilinger@xxxxxxxxxxxxxxx>

On Tue, 15 Dec 2009
22:02:09 +0100 (CET) Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:

> From 707c6b36fcf474c31f57a55fa983f3e1db59cf56 Mon Sep 17 00:00:00 2001
> From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> 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 <geert@xxxxxxxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/