Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hp300/dev Fix one more porting botch inside #ifdef ...



details:   https://anonhg.NetBSD.org/src/rev/664c1fced1d4
branches:  trunk
changeset: 761972:664c1fced1d4
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Feb 12 16:37:32 2011 +0000

description:
Fix one more porting botch inside #ifdef WSDISPLAY_COMPAT_RAWKBD.

diffstat:

 sys/arch/hp300/dev/dnkbd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9bc8fe175144 -r 664c1fced1d4 sys/arch/hp300/dev/dnkbd.c
--- a/sys/arch/hp300/dev/dnkbd.c        Sat Feb 12 16:36:37 2011 +0000
+++ b/sys/arch/hp300/dev/dnkbd.c        Sat Feb 12 16:37:32 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dnkbd.c,v 1.2 2011/02/12 16:30:22 tsutsui Exp $        */
+/*     $NetBSD: dnkbd.c,v 1.3 2011/02/12 16:37:32 tsutsui Exp $        */
 /*     $OpenBSD: dnkbd.c,v 1.17 2009/07/23 21:05:56 blambert Exp $     */
 
 /*
@@ -991,7 +991,7 @@
 #ifdef WSDISPLAY_COMPAT_RAWKBD
        case WSKBDIO_SETMODE:
                sc->sc_rawkbd = *(int *)data == WSKBD_RAW;
-               timeout_del(&sc->sc_rawrepeat_ch);
+               callout_stop(&sc->sc_rawrepeat_ch);
                return (0);
 #endif
        }



Home | Main Index | Thread Index | Old Index