aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sk/if_sk.c
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2007-11-22 02:45:00 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2007-11-22 02:45:00 +0000
commit6a087a8722f8f5730da0236d0656ed363b8f87b3 (patch)
treed1d19f54c55bb9daf8443358fe00c8ae2018ba6b /sys/dev/sk/if_sk.c
parente7356456ed980db73b21df22d5405c1aaeeca003 (diff)
downloadsrc-6a087a8722f8f5730da0236d0656ed363b8f87b3.tar.gz
src-6a087a8722f8f5730da0236d0656ed363b8f87b3.zip
Fix function prototype for device_shutdown method.
Notes
Notes: svn path=/head/; revision=173839
Diffstat (limited to 'sys/dev/sk/if_sk.c')
-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 fe2490209e1d..217d3a6ff9b1 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