Add '0' to three more random callout_init() calls.
This commit is contained in:
parent
48e23b4a25
commit
3a1264a004
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pdc.c,v 1.20 2007/03/04 05:59:51 christos Exp $ */
|
||||
/* $NetBSD: pdc.c,v 1.21 2007/07/11 21:57:29 dsl Exp $ */
|
||||
|
||||
/* $OpenBSD: pdc.c,v 1.14 2001/04/29 21:05:43 mickey Exp $ */
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.20 2007/03/04 05:59:51 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.21 2007/07/11 21:57:29 dsl Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -173,7 +173,7 @@ pdcattach(struct device *parent, struct device *self, void *aux)
|
|||
|
||||
printf("\n");
|
||||
|
||||
callout_init(&sc->sc_to);
|
||||
callout_init(&sc->sc_to, 0);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: autoconf.c,v 1.23 2006/10/21 05:54:32 mrg Exp $ */
|
||||
/* $NetBSD: autoconf.c,v 1.24 2007/07/11 21:57:28 dsl Exp $ */
|
||||
|
||||
/* $OpenBSD: autoconf.c,v 1.15 2001/06/25 00:43:10 mickey Exp $ */
|
||||
|
||||
|
@ -86,7 +86,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.23 2006/10/21 05:54:32 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.24 2007/07/11 21:57:28 dsl Exp $");
|
||||
|
||||
#include "opt_kgdb.h"
|
||||
#include "opt_useleds.h"
|
||||
|
@ -174,7 +174,7 @@ cpu_configure(void)
|
|||
|
||||
#ifdef USELEDS
|
||||
memset(_hp700_led_on_cycles, 0, sizeof(_hp700_led_on_cycles));
|
||||
callout_init(&hp700_led_callout);
|
||||
callout_init(&hp700_led_callout, 0);
|
||||
hp700_led_blinker((void *) 0);
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: power.c,v 1.5 2005/12/11 12:17:24 christos Exp $ */
|
||||
/* $NetBSD: power.c,v 1.6 2007/07/11 21:57:29 dsl Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2004 Jochen Kunz.
|
||||
* All rights reserved.
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: power.c,v 1.5 2005/12/11 12:17:24 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: power.c,v 1.6 2007/07/11 21:57:29 dsl Exp $");
|
||||
|
||||
|
||||
/*
|
||||
|
@ -193,7 +193,7 @@ pwr_sw_init(bus_space_tag_t bst)
|
|||
else
|
||||
/* Power Reg. is hardware dampened, poll at 1 Hz. */
|
||||
pwr_sw_poll_interval = hz;
|
||||
callout_init(&pwr_sw_callout);
|
||||
callout_init(&pwr_sw_callout, 0);
|
||||
callout_reset(&pwr_sw_callout, pwr_sw_poll_interval,
|
||||
pwr_sw_poll, NULL);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue