diff options
author | Pyun YongHyeon <yongari@FreeBSD.org> | 2007-11-22 02:45:00 +0000 |
---|---|---|
committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2007-11-22 02:45:00 +0000 |
commit | 6a087a8722f8f5730da0236d0656ed363b8f87b3 (patch) | |
tree | d1d19f54c55bb9daf8443358fe00c8ae2018ba6b /sys/dev/sf/if_sf.c | |
parent | e7356456ed980db73b21df22d5405c1aaeeca003 (diff) | |
download | src-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/sf/if_sf.c')
-rw-r--r-- | sys/dev/sf/if_sf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c index c76f4d321e71..b3f6086ecedf 100644 --- a/sys/dev/sf/if_sf.c +++ b/sys/dev/sf/if_sf.c @@ -147,7 +147,7 @@ static void sf_init(void *); static void sf_init_locked(struct sf_softc *); static void sf_stop(struct sf_softc *); static void sf_watchdog(struct ifnet *); -static void sf_shutdown(device_t); +static int sf_shutdown(device_t); static int sf_ifmedia_upd(struct ifnet *); static void sf_ifmedia_upd_locked(struct ifnet *); static void sf_ifmedia_sts(struct ifnet *, struct ifmediareq *); @@ -1588,7 +1588,7 @@ sf_watchdog(ifp) SF_UNLOCK(sc); } -static void +static int sf_shutdown(dev) device_t dev; { @@ -1599,4 +1599,6 @@ sf_shutdown(dev) SF_LOCK(sc); sf_stop(sc); SF_UNLOCK(sc); + + return (0); } |