cs5535: CS5535_MFGPT_DEFAULT_IRQ should depend on CS5535_MFGPT
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 17 Dec 2009 23:27:05 +0000 (15:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Dec 2009 23:45:30 +0000 (15:45 -0800)
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@linux-m68k.org>
Acked-by: Andres Salomon <dilinger@collabora.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/Kconfig

index 1a7a9fc50ea1019fc74965daf6de40fff65b0f47..e3551d20464fe8f56c9edecfd9babe8c496e1aec 100644 (file)
@@ -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