diff options
| author | Warner Losh <imp@FreeBSD.org> | 2009-02-04 20:35:22 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2009-02-04 20:35:22 +0000 |
| commit | 850f048e581a01f626c2ce13e132bf3687ad7057 (patch) | |
| tree | 528665c316dde4187015d71e3f8debb96a959cb1 /sys/dev/ae | |
| parent | 02fa902fbede21f440193b72702155712f06cffe (diff) | |
Notes
Diffstat (limited to 'sys/dev/ae')
| -rw-r--r-- | sys/dev/ae/if_ae.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ae/if_ae.c b/sys/dev/ae/if_ae.c index 345a01f708fd..f6d8e4251dbb 100644 --- a/sys/dev/ae/if_ae.c +++ b/sys/dev/ae/if_ae.c @@ -105,7 +105,7 @@ static void ae_phy_init(ae_softc_t *sc); static int ae_reset(ae_softc_t *sc); static void ae_init(void *arg); static int ae_init_locked(ae_softc_t *sc); -static unsigned int ae_detach(device_t dev); +static int ae_detach(device_t dev); static int ae_miibus_readreg(device_t dev, int phy, int reg); static int ae_miibus_writereg(device_t dev, int phy, int reg, int val); static void ae_miibus_statchg(device_t dev); @@ -746,7 +746,7 @@ ae_init_locked(ae_softc_t *sc) return (0); } -static unsigned int +static int ae_detach(device_t dev) { struct ae_softc *sc; |
