summaryrefslogtreecommitdiffstats
path: root/sys/dev/sis
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-02-10 23:17:20 +0000
committerimp <imp@FreeBSD.org>2009-02-10 23:17:20 +0000
commit556b4fb0466afa487879fd40f612de26a5276bd1 (patch)
tree360c24044fdf261589295095bb135e6717a92e2a /sys/dev/sis
parent36ef8e5ed35902abf5171b23d2727022e11d9997 (diff)
downloadFreeBSD-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.c3
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[] = {
OpenPOWER on IntegriCloud