diff options
Diffstat (limited to 'sys/dev/lmc')
-rw-r--r-- | sys/dev/lmc/if_lmc.c | 3 | ||||
-rw-r--r-- | sys/dev/lmc/if_lmc.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/lmc/if_lmc.c b/sys/dev/lmc/if_lmc.c index a5a722b..c52778c 100644 --- a/sys/dev/lmc/if_lmc.c +++ b/sys/dev/lmc/if_lmc.c @@ -5643,10 +5643,11 @@ fbsd_detach(device_t dev) return 0; /* no error */ } -static void +static int fbsd_shutdown(device_t dev) { shutdown_card(device_get_softc(dev)); + return 0; } static int diff --git a/sys/dev/lmc/if_lmc.h b/sys/dev/lmc/if_lmc.h index c78b162..a2127d7 100644 --- a/sys/dev/lmc/if_lmc.h +++ b/sys/dev/lmc/if_lmc.h @@ -1642,7 +1642,7 @@ static void detach_card(softc_t *); #ifdef __FreeBSD__ static int fbsd_probe(device_t); static int fbsd_detach(device_t); -static void fbsd_shutdown(device_t); +static int fbsd_shutdown(device_t); static int fbsd_attach(device_t); #endif /* __FreeBSD__ */ |