summaryrefslogtreecommitdiffstats
path: root/sys/dev/tl
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-02-10 23:17:20 +0000
committerimp <imp@FreeBSD.org>2009-02-10 23:17:20 +0000
commit556b4fb0466afa487879fd40f612de26a5276bd1 (patch)
tree360c24044fdf261589295095bb135e6717a92e2a /sys/dev/tl
parent36ef8e5ed35902abf5171b23d2727022e11d9997 (diff)
downloadFreeBSD-src-556b4fb0466afa487879fd40f612de26a5276bd1.zip
FreeBSD-src-556b4fb0466afa487879fd40f612de26a5276bd1.tar.gz
Fix shutdown prototypes.
Diffstat (limited to 'sys/dev/tl')
-rw-r--r--sys/dev/tl/if_tl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/tl/if_tl.c b/sys/dev/tl/if_tl.c
index 371feb2..28fea78 100644
--- a/sys/dev/tl/if_tl.c
+++ b/sys/dev/tl/if_tl.c
@@ -282,7 +282,7 @@ static void tl_init(void *);
static void tl_init_locked(struct tl_softc *);
static void tl_stop(struct tl_softc *);
static void tl_watchdog(struct ifnet *);
-static void tl_shutdown(device_t);
+static int tl_shutdown(device_t);
static int tl_ifmedia_upd(struct ifnet *);
static void tl_ifmedia_sts(struct ifnet *, struct ifmediareq *);
@@ -2347,7 +2347,7 @@ tl_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
tl_shutdown(dev)
device_t dev;
{
@@ -2359,5 +2359,5 @@ tl_shutdown(dev)
tl_stop(sc);
TL_UNLOCK(sc);
- return;
+ return (0);
}
OpenPOWER on IntegriCloud