[PATCH] oqo: depends on INPUT_POLLDEV

From: Randy Dunlap
Date: Fri Feb 20 2009 - 11:29:39 EST


This patch (from 2009-feb-10) is still needed in today's linux-next.


Begin forwarded message:

Date: Tue, 10 Feb 2009 09:53:19 -0800
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
To: lkml <linux-kernel@xxxxxxxxxxxxxxx>, akpm <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: linux-next@xxxxxxxxxxxxxxx, Matthew Garrett <mjg59@xxxxxxxxxxxxx>
Subject: [PATCH] oqo: depends on INPUT_POLLDEV


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

oqo driver uses polled input functions, so make it depend
on INPUT_POLLDEV.

ERROR: "input_register_polled_device" [drivers/platform/x86/oqo-wmi.ko] undefined!
ERROR: "input_allocate_polled_device" [drivers/platform/x86/oqo-wmi.ko] undefined!
ERROR: "input_free_polled_device" [drivers/platform/x86/oqo-wmi.ko] undefined!
ERROR: "input_unregister_polled_device" [drivers/platform/x86/oqo-wmi.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
cc: Matthew Garrett <mjg59@xxxxxxxxxxxxx>
---
drivers/platform/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20090210.orig/drivers/platform/x86/Kconfig
+++ linux-next-20090210/drivers/platform/x86/Kconfig
@@ -137,7 +137,7 @@ config MSI_LAPTOP
config OQO_WMI
tristate "OQO WMI extras"
depends on ACPI_WMI
- depends on INPUT
+ depends on INPUT && INPUT_POLLDEV
depends on RFKILL
depends on BACKLIGHT_CLASS_DEVICE
help


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