trivial 2.5.40 input patch

kernel@street-vision.com
Wed, 2 Oct 2002 17:04:43 +0000 (GMT)


Here is a very small patch for module license, Config.help and my email
address in drivers/input/keyboard in 2.5.40. Tested the newtonkbd driver
and it is fine.

diff -urN linux-2.5.40-orig/drivers/input/keyboard/Config.help linux-2.5.40/drivers/input/keyboard/Config.help
--- linux-2.5.40-orig/drivers/input/keyboard/Config.help Tue Oct 1 07:06:27 2002
+++ linux-2.5.40/drivers/input/keyboard/Config.help Wed Oct 2 16:19:26 2002
@@ -43,7 +43,7 @@

This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
- The module will be called maple_keyb.o. If you want to compile it as a
+ The module will be called newtonkbd.o. If you want to compile it as a
module, say M here and read <file:Documentation/modules.txt>.

CONFIG_KEYBOARD_MAPLE
diff -urN linux-2.5.40-orig/drivers/input/keyboard/maple_keyb.c linux-2.5.40/drivers/input/keyboard/maple_keyb.c
--- linux-2.5.40-orig/drivers/input/keyboard/maple_keyb.c Tue Oct 1 07:06:29 2002
+++ linux-2.5.40/drivers/input/keyboard/maple_keyb.c Wed Oct 2 17:00:07 2002
@@ -14,6 +14,7 @@

MODULE_AUTHOR("YAEGASHI Takeshi <t@keshi.org>");
MODULE_DESCRIPTION("SEGA Dreamcast keyboard driver");
+MODULE_LICENSE("GPL");

static unsigned char dc_kbd_keycode[256] = {
0, 0, 0, 0, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38,
diff -urN linux-2.5.40-orig/drivers/input/keyboard/newtonkbd.c linux-2.5.40/drivers/input/keyboard/newtonkbd.c
--- linux-2.5.40-orig/drivers/input/keyboard/newtonkbd.c Tue Oct 1 07:05:46 2002
+++ linux-2.5.40/drivers/input/keyboard/newtonkbd.c Wed Oct 2 16:24:37 2002
@@ -1,29 +1,10 @@
/*
- * Copyright (c) 2000 Justin Cormack
+ * Copyright (c) 2000 Justin Cormack <justin@street-vision.com>
*/

/*
- * Newton keyboard driver for Linux
- */
-
-/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * Should you need to contact me, the author, you can do so either by
- * e-mail - mail your message to <j.cormack@doc.ic.ac.uk>, or by paper mail:
- * Justin Cormack, 68 Dartmouth Park Road, London NW5 1SN, UK.
+ * Apple Newton serial keyboard driver for Linux
+ * Also works for compatible serial keyboards eg KeySync
*/

#include <linux/slab.h>
@@ -32,7 +13,9 @@
#include <linux/init.h>
#include <linux/serio.h>

-MODULE_AUTHOR("Justin Cormack <j.cormack@doc.ic.ac.uk>");
+MODULE_AUTHOR("Justin Cormack <justin@street-vision.com>");
+MODULE_DESCRIPTION("Newton keyboard driver");
+MODULE_LICENSE("GPL");

#define NKBD_KEY 0x7f
#define NKBD_PRESS 0x80
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/