Shutdown routine returns int.
This commit is contained in:
parent
850f048e58
commit
56e63ed738
@ -2989,7 +2989,7 @@ an_watchdog(struct ifnet *ifp)
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
an_shutdown(device_t dev)
|
||||
{
|
||||
struct an_softc *sc;
|
||||
@ -2998,7 +2998,7 @@ an_shutdown(device_t dev)
|
||||
an_stop(sc);
|
||||
sc->an_gone = 1;
|
||||
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -511,7 +511,7 @@ int an_alloc_aux_memory (device_t, int, int);
|
||||
int an_alloc_irq (device_t, int, int);
|
||||
int an_pci_probe (device_t);
|
||||
int an_probe (device_t);
|
||||
void an_shutdown (device_t);
|
||||
int an_shutdown (device_t);
|
||||
void an_resume (device_t);
|
||||
int an_attach (struct an_softc *, int, int);
|
||||
int an_detach (device_t);
|
||||
|
Loading…
Reference in New Issue
Block a user