Adapt to new signature for callout_init().
This commit is contained in:
parent
758f9f5cde
commit
a82c668826
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dma.c,v 1.35 2006/12/21 15:55:22 yamt Exp $ */
|
||||
/* $NetBSD: dma.c,v 1.36 2007/07/12 20:33:02 he Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
|
||||
@ -72,7 +72,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.35 2006/12/21 15:55:22 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.36 2007/07/12 20:33:02 he Exp $");
|
||||
|
||||
#include <machine/hp300spu.h> /* XXX param.h includes cpu.h */
|
||||
|
||||
@ -222,7 +222,7 @@ dmaattach(struct device *parent, struct device *self, void *aux)
|
||||
sc->sc_type = (rev == 'B') ? DMA_B : DMA_C;
|
||||
|
||||
TAILQ_INIT(&sc->sc_queue);
|
||||
callout_init(&sc->sc_debug_ch);
|
||||
callout_init(&sc->sc_debug_ch, 0);
|
||||
|
||||
for (i = 0; i < NDMACHAN; i++) {
|
||||
dc = &sc->sc_chan[i];
|
||||
|
Loading…
Reference in New Issue
Block a user