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/pci/if_rl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/pci/if_rl.c') diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 303adb3..8c4ee65 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -208,7 +208,7 @@ static void rl_reset(struct rl_softc *); static int rl_resume(device_t); static void rl_rxeof(struct rl_softc *); static void rl_setmulti(struct rl_softc *); -static void rl_shutdown(device_t); +static int rl_shutdown(device_t); static void rl_start(struct ifnet *); static void rl_start_locked(struct ifnet *); static void rl_stop(struct rl_softc *); @@ -1799,7 +1799,7 @@ rl_resume(device_t dev) * 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 rl_shutdown(device_t dev) { struct rl_softc *sc; @@ -1809,4 +1809,6 @@ rl_shutdown(device_t dev) RL_LOCK(sc); rl_stop(sc); RL_UNLOCK(sc); + + return (0); } -- cgit v1.1