diff options
author | imp <imp@FreeBSD.org> | 2009-02-10 23:17:20 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-02-10 23:17:20 +0000 |
commit | 556b4fb0466afa487879fd40f612de26a5276bd1 (patch) | |
tree | 360c24044fdf261589295095bb135e6717a92e2a /sys/dev/sis | |
parent | 36ef8e5ed35902abf5171b23d2727022e11d9997 (diff) | |
download | FreeBSD-src-556b4fb0466afa487879fd40f612de26a5276bd1.zip FreeBSD-src-556b4fb0466afa487879fd40f612de26a5276bd1.tar.gz |
Fix shutdown prototypes.
Diffstat (limited to 'sys/dev/sis')
-rw-r--r-- | sys/dev/sis/if_sis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sis/if_sis.c b/sys/dev/sis/if_sis.c index 8da95af..fd6e201 100644 --- a/sys/dev/sis/if_sis.c +++ b/sys/dev/sis/if_sis.c @@ -2257,7 +2257,7 @@ sis_stop(struct sis_softc *sc) * Stop all chip I/O so that the kernel's probe routines don't * get confused by errant DMAs when rebooting. */ -static void +static int sis_shutdown(device_t dev) { struct sis_softc *sc; @@ -2267,6 +2267,7 @@ sis_shutdown(device_t dev) sis_reset(sc); sis_stop(sc); SIS_UNLOCK(sc); + return (0); } static device_method_t sis_methods[] = { |