diff options
| author | Warner Losh <imp@FreeBSD.org> | 2009-02-05 19:37:49 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2009-02-05 19:37:49 +0000 |
| commit | a6340ec88d5c1676bc87d8bd36382a7679bddec5 (patch) | |
| tree | 2046c09eec4d8037ecd5ca9178833569ae12e940 /sys/dev/lmc | |
| parent | 8c1d2b702bf0f7c5b3dfe69e10ea86d5037e42b0 (diff) | |
Notes
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 a5a722be7c79..c52778c4d4b2 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 c78b1623d239..a2127d761bea 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__ */ |
