Call callout_init before callout_stop.
This commit is contained in:
parent
27b6c6515d
commit
f27028f22e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: j720tp.c,v 1.7 2007/10/17 19:54:28 garbled Exp $ */
|
||||
/* $NetBSD: j720tp.c,v 1.8 2007/10/26 10:39:40 peter Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2006 The NetBSD Foundation, Inc.
|
||||
|
@ -39,7 +39,7 @@
|
|||
/* Jornada 720 touch-panel driver. */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: j720tp.c,v 1.7 2007/10/17 19:54:28 garbled Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: j720tp.c,v 1.8 2007/10/26 10:39:40 peter Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_j720tp.h"
|
||||
|
@ -245,9 +245,10 @@ j720tp_attach(struct device *parent, struct device *self, void *aux)
|
|||
tpcalib_ioctl(&sc->sc_tpcalib, WSMOUSEIO_SCALIBCOORDS,
|
||||
__UNCONST(&j720tp_default_calib), 0, 0);
|
||||
|
||||
j720tp_wsmouse_disable(sc);
|
||||
callout_init(&sc->sc_tpcallout, 0);
|
||||
|
||||
j720tp_wsmouse_disable(sc);
|
||||
|
||||
/* On-screen "hard icons" as a keyboard device. */
|
||||
wska.console = 0;
|
||||
wska.keymap = &j720tp_wskbd_keymapdata;
|
||||
|
|
Loading…
Reference in New Issue