sunkbd.c: fix sunkbd_enable(sunkbd, 0); obvious
PATCH 1/1 sunkbd.c: fix sunkbd_enable(sunkbd, 0); obvious
From: Fabrice Knevez <[email protected]>
"sunkbd_enable(sunkbd, 0);" has no effect. Adding "sunkbd->enabled = enable" in sunkbd_enable (obvious)
Signed-off-by Fabrice Knevez <[email protected]>
---
Sorry about thunderbird mangling the patch in the first email...
I don't have any sun keyboard, i was just reading the sources and it seemed like an obvious modification.
drivers/input/keyboard/sunkbd.c renamed from drivers/input/keyboard/sunkbd.c.orig +1 -1
@@ -225,7 +225,7 @@ static void sunkbd_reinit(void *data)static void sunkbd_enable (struct sunkbd *sunkbd,int enable) {serio_pause_rx (sunkbd->serio); - sunkbd->enabled =1 ; + sunkbd->enabled = enable;serio_continue_rx (sunkbd->serio); }
David Miller
AppliedFrom: [email protected]
Date: Thu, 14 Dec 2006 21:25:20 +0100
Quoted 3 lines
"
sunkbd_enable(sunkbd, 0);" has no effect. Adding "sunkbd->enabled= enable" insunkbd_enable(obvious)Signed-off-by Fabrice Knevez <[email protected]>
Applied, thanks.