From d6d1923521f67b21a7319b500381a1e985b177ff Mon Sep 17 00:00:00 2001 From: yongari Date: Thu, 22 Nov 2007 02:45:00 +0000 Subject: Fix function prototype for device_shutdown method. --- sys/dev/sk/if_sk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/sk') 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 -- cgit v1.1