summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_ste.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2007-11-22 02:45:00 +0000
committeryongari <yongari@FreeBSD.org>2007-11-22 02:45:00 +0000
commitd6d1923521f67b21a7319b500381a1e985b177ff (patch)
treed1d19f54c55bb9daf8443358fe00c8ae2018ba6b /sys/pci/if_ste.c
parent5fe104598e52f3420ed1a06628822037577d6f88 (diff)
downloadFreeBSD-src-d6d1923521f67b21a7319b500381a1e985b177ff.zip
FreeBSD-src-d6d1923521f67b21a7319b500381a1e985b177ff.tar.gz
Fix function prototype for device_shutdown method.
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r--sys/pci/if_ste.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index 57a1377..e285e50 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -109,7 +109,7 @@ static int ste_encap(struct ste_softc *, struct ste_chain *, struct mbuf *);
static void ste_start(struct ifnet *);
static void ste_start_locked(struct ifnet *);
static void ste_watchdog(struct ifnet *);
-static void ste_shutdown(device_t);
+static int ste_shutdown(device_t);
static int ste_newbuf(struct ste_softc *, struct ste_chain_onefrag *,
struct mbuf *);
static int ste_ifmedia_upd(struct ifnet *);
@@ -1736,7 +1736,7 @@ ste_watchdog(ifp)
return;
}
-static void
+static int
ste_shutdown(dev)
device_t dev;
{
@@ -1748,5 +1748,5 @@ ste_shutdown(dev)
ste_stop(sc);
STE_UNLOCK(sc);
- return;
+ return (0);
}
OpenPOWER on IntegriCloud