[PATCH 10/16] Fix building twidjoy module

From: Dmitry Torokhov
Date: Wed Dec 29 2004 - 02:56:24 EST



===================================================================


ChangeSet@xxxxxx, 2004-12-28 00:45:17-05:00, dtor_core@xxxxxxxxxxxxx
Input: twidjoy - apparently Kconfig and Makefile disagreed on the
name for config option so the module was never built.

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>


Kconfig | 2 +-
twidjoy.c | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)


===================================================================



diff -Nru a/drivers/input/joystick/Kconfig b/drivers/input/joystick/Kconfig
--- a/drivers/input/joystick/Kconfig 2004-12-29 01:50:22 -05:00
+++ b/drivers/input/joystick/Kconfig 2004-12-29 01:50:22 -05:00
@@ -187,7 +187,7 @@
To compile this driver as a module, choose M here: the
module will be called stinger.

-config JOYSTICK_TWIDDLER
+config JOYSTICK_TWIDJOY
tristate "Twiddler as a joystick"
depends on INPUT && INPUT_JOYSTICK
select SERIO
diff -Nru a/drivers/input/joystick/twidjoy.c b/drivers/input/joystick/twidjoy.c
--- a/drivers/input/joystick/twidjoy.c 2004-12-29 01:50:22 -05:00
+++ b/drivers/input/joystick/twidjoy.c 2004-12-29 01:50:22 -05:00
@@ -58,7 +58,9 @@
#include <linux/serio.h>
#include <linux/init.h>

-MODULE_DESCRIPTION("Handykey Twiddler keyboard as a joystick driver");
+#define DRIVER_DESC "Handykey Twiddler keyboard as a joystick driver"
+
+MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");

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