diff options
author | yongari <yongari@FreeBSD.org> | 2007-11-22 02:45:00 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2007-11-22 02:45:00 +0000 |
commit | d6d1923521f67b21a7319b500381a1e985b177ff (patch) | |
tree | d1d19f54c55bb9daf8443358fe00c8ae2018ba6b /sys/dev/stge | |
parent | 5fe104598e52f3420ed1a06628822037577d6f88 (diff) | |
download | FreeBSD-src-d6d1923521f67b21a7319b500381a1e985b177ff.zip FreeBSD-src-d6d1923521f67b21a7319b500381a1e985b177ff.tar.gz |
Fix function prototype for device_shutdown method.
Diffstat (limited to 'sys/dev/stge')
-rw-r--r-- | sys/dev/stge/if_stge.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/stge/if_stge.c b/sys/dev/stge/if_stge.c index 54eee1a..5ddb14e 100644 --- a/sys/dev/stge/if_stge.c +++ b/sys/dev/stge/if_stge.c @@ -130,7 +130,7 @@ static struct stge_product { static int stge_probe(device_t); static int stge_attach(device_t); static int stge_detach(device_t); -static void stge_shutdown(device_t); +static int stge_shutdown(device_t); static int stge_suspend(device_t); static int stge_resume(device_t); @@ -1118,7 +1118,7 @@ stge_dma_free(struct stge_softc *sc) * * Make sure the interface is stopped at reboot time. */ -static void +static int stge_shutdown(device_t dev) { struct stge_softc *sc; @@ -1128,6 +1128,8 @@ stge_shutdown(device_t dev) STGE_LOCK(sc); stge_stop(sc); STGE_UNLOCK(sc); + + return (0); } static int |