summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_rl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_rl.c')
-rw-r--r--sys/pci/if_rl.c6
1 files changed, 4 insertions, 2 deletions
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);
}
OpenPOWER on IntegriCloud