Skip to content

Commit

Permalink
Shutdown routine returns int.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdimp committed Feb 4, 2009
1 parent 00c586a commit d59ba59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sys/dev/an/if_an.c
Original file line number Diff line number Diff line change
Expand Up @@ -2989,7 +2989,7 @@ an_watchdog(struct ifnet *ifp)
return;
}

void
int
an_shutdown(device_t dev)
{
struct an_softc *sc;
Expand All @@ -2998,7 +2998,7 @@ an_shutdown(device_t dev)
an_stop(sc);
sc->an_gone = 1;

return;
return 0;
}

void
Expand Down
2 changes: 1 addition & 1 deletion sys/dev/an/if_anreg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d59ba59

Please sign in to comment.