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/lge/if_lge.c | |
| parent | e7356456ed980db73b21df22d5405c1aaeeca003 (diff) | |
Notes
Diffstat (limited to 'sys/dev/lge/if_lge.c')
| -rw-r--r-- | sys/dev/lge/if_lge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c index e09134c809171..0f3dc2d0d55fd 100644 --- a/sys/dev/lge/if_lge.c +++ b/sys/dev/lge/if_lge.c @@ -138,7 +138,7 @@ static void lge_init(void *); static void lge_init_locked(struct lge_softc *); static void lge_stop(struct lge_softc *); static void lge_watchdog(struct ifnet *); -static void lge_shutdown(device_t); +static int lge_shutdown(device_t); static int lge_ifmedia_upd(struct ifnet *); static void lge_ifmedia_upd_locked(struct ifnet *); static void lge_ifmedia_sts(struct ifnet *, struct ifmediareq *); @@ -1579,7 +1579,7 @@ lge_stop(sc) * Stop all chip I/O so that the kernel's probe routines don't * get confused by errant DMAs when rebooting. */ -static void +static int lge_shutdown(dev) device_t dev; { @@ -1592,5 +1592,5 @@ lge_shutdown(dev) lge_stop(sc); LGE_UNLOCK(sc); - return; + return (0); } |
