Adapt to new signature for callout_init().
This commit is contained in:
parent
ffa428bf85
commit
150caa6d8c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ms.c,v 1.17 2007/03/04 05:59:40 christos Exp $ */
|
||||
/* $NetBSD: ms.c,v 1.18 2007/07/11 19:13:23 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Leo Weppelman.
|
||||
|
@ -52,7 +52,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.17 2007/03/04 05:59:40 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.18 2007/07/11 19:13:23 he Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/conf.h>
|
||||
|
@ -103,7 +103,7 @@ mouseattach(cnt)
|
|||
{
|
||||
printf("1 mouse configured\n");
|
||||
ms_softc[0].ms_emul3b = 1;
|
||||
callout_init(&ms_softc[0].ms_delay_ch);
|
||||
callout_init(&ms_softc[0].ms_delay_ch, 0);
|
||||
return(NMOUSE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue