[Patch] uml: kill a kconfig warning

From: AmÃrico Wang
Date: Fri Apr 17 2009 - 05:19:35 EST



Got this warning from Kconfig:

boolean symbol INPUT tested for 'm'? test forced to 'n'

because INPUT is tristate, not bool. The patch below fixes it.

Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>
Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
Cc: Jeff Dike <jdike@xxxxxxxxxxx>

--
diff --git a/arch/um/Kconfig.rest b/arch/um/Kconfig.rest
index 7b5cea7..0ccad0f 100644
--- a/arch/um/Kconfig.rest
+++ b/arch/um/Kconfig.rest
@@ -36,7 +36,7 @@ source "drivers/leds/Kconfig"

#This is just to shut up some Kconfig warnings, so no prompt.
config INPUT
- bool
+ tristate
default n

source "arch/um/Kconfig.debug"

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