summaryrefslogtreecommitdiffstats
path: root/sys/dev/sk
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2007-11-22 02:45:00 +0000
committeryongari <yongari@FreeBSD.org>2007-11-22 02:45:00 +0000
commitd6d1923521f67b21a7319b500381a1e985b177ff (patch)
treed1d19f54c55bb9daf8443358fe00c8ae2018ba6b /sys/dev/sk
parent5fe104598e52f3420ed1a06628822037577d6f88 (diff)
downloadFreeBSD-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.c6
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
OpenPOWER on IntegriCloud