[PATCH 10/16] Fix building twidjoy module

Dmitry Torokhov
2004-12-29T07:48:22Z

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

ChangeSet@1.1970, 2004-12-28 00:45:17-05:00, dtor_core@ameritech.net
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@mail.ru>

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

/*