Messages in this thread Patch in this message | | | Date | Sat, 14 Jun 2003 22:36:29 +0200 | From | Vojtech Pavlik <> | Subject | [patch] input: Fix sunkbd keybit bitfield filling [2/13] |
| |
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/input
===================================================================
ChangeSet@1.1215.104.19, 2003-06-09 13:48:38+02:00, vojtech@suse.cz input: fix sunkbd to properly set its bitfields up to key #127.
sunkbd.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
===================================================================
diff -Nru a/drivers/input/keyboard/sunkbd.c b/drivers/input/keyboard/sunkbd.c --- a/drivers/input/keyboard/sunkbd.c Sat Jun 14 22:21:43 2003 +++ b/drivers/input/keyboard/sunkbd.c Sat Jun 14 22:21:43 2003 @@ -271,7 +271,7 @@ sprintf(sunkbd->name, "Sun Type %d keyboard", sunkbd->type); memcpy(sunkbd->keycode, sunkbd_keycode, sizeof(sunkbd->keycode)); - for (i = 0; i < 127; i++) + for (i = 0; i < 128; i++) set_bit(sunkbd->keycode[i], sunkbd->dev.keybit); clear_bit(0, sunkbd->dev.keybit); - 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/
| |