All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] uml: kill a kconfig warning
@ 2009-04-17  9:20 Américo Wang
  0 siblings, 0 replies; only message in thread
From: Américo Wang @ 2009-04-17  9:20 UTC (permalink / raw)
  To: LKML; +Cc: Sam Ravnborg, Jeff Dike, Andrew Morton, user-mode-linux-devel


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@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Jeff Dike <jdike@addtoit.com>

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-17  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-17  9:20 [Patch] uml: kill a kconfig warning Américo Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.