[PATCH] hid: fix gyration build error

From: Randy Dunlap
Date: Wed Sep 03 2008 - 22:33:24 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix config symbol name in ifdef to fix build error:

ERROR: "hid_compat_gyration" [drivers/hid/hid-dummy.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
cc: Jiri Kosina <jkosina@xxxxxxx>
---
drivers/hid/hid-dummy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20080903.orig/drivers/hid/hid-dummy.c
+++ linux-next-20080903/drivers/hid/hid-dummy.c
@@ -28,7 +28,7 @@ static int __init hid_dummy_init(void)
#ifdef CONFIG_HID_EZKEY_MODULE
HID_COMPAT_CALL_DRIVER(ezkey);
#endif
-#ifdef CONFIG_HID_EZKEY_MODULE
+#ifdef CONFIG_HID_GYRATION_MODULE
HID_COMPAT_CALL_DRIVER(gyration);
#endif
#ifdef CONFIG_HID_LOGITECH_MODULE
--
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/