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/sk | |
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/sk')
-rw-r--r-- | sys/dev/sk/if_sk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index fe24902..217d3a6 100644 --- a/sys/dev/sk/if_sk.c +++ b/sys/dev/sk/if_sk.c @@ -190,7 +190,7 @@ static struct sk_type sk_devs[] = { static int skc_probe(device_t); static int skc_attach(device_t); static int skc_detach(device_t); -static void skc_shutdown(device_t); +static int skc_shutdown(device_t); static int skc_suspend(device_t); static int skc_resume(device_t); static int sk_detach(device_t); @@ -2691,7 +2691,7 @@ done: return; } -static void +static int skc_shutdown(dev) device_t dev; { @@ -2710,7 +2710,7 @@ skc_shutdown(dev) sk_reset(sc); SK_UNLOCK(sc); - return; + return (0); } static int |