Subject: [PATCH -next] staging/quickstart: depends on INPUT

From: Randy Dunlap <[email-masked]>
Date: Wed, 28 Jul 2010 10:16:07 -0700

From: Randy Dunlap <[email-masked]>

quickstart uses input_*() functions so it should depend on INPUT.

ERROR: "input_register_device" [drivers/staging/quickstart/quickstart.ko] undefined!
ERROR: "input_allocate_device" [drivers/staging/quickstart/quickstart.ko] undefined!
ERROR: "input_event" [drivers/staging/quickstart/quickstart.ko] undefined!
ERROR: "input_free_device" [drivers/staging/quickstart/quickstart.ko] undefined!
ERROR: "input_unregister_device" [drivers/staging/quickstart/quickstart.ko] undefined!

Signed-off-by: Randy Dunlap <[email-masked]>
Cc: Angelo Arrifano <[email-masked]>
---
 drivers/staging/quickstart/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100728.orig/drivers/staging/quickstart/Kconfig
+++ linux-next-20100728/drivers/staging/quickstart/Kconfig
@@ -1,6 +1,6 @@
 config ACPI_QUICKSTART
 	tristate "ACPI Quickstart key driver"
-	depends on ACPI
+	depends on ACPI && INPUT
 	help
 	  Say Y here if you have a platform that supports the ACPI
 	  quickstart key protocol.