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/safe | |
| parent | 8c1d2b702bf0f7c5b3dfe69e10ea86d5037e42b0 (diff) | |
Notes
Diffstat (limited to 'sys/dev/safe')
| -rw-r--r-- | sys/dev/safe/safe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/safe/safe.c b/sys/dev/safe/safe.c index f3f124301b6d..736b329e8c29 100644 --- a/sys/dev/safe/safe.c +++ b/sys/dev/safe/safe.c @@ -84,7 +84,7 @@ static int safe_attach(device_t); static int safe_detach(device_t); static int safe_suspend(device_t); static int safe_resume(device_t); -static void safe_shutdown(device_t); +static int safe_shutdown(device_t); static int safe_newsession(device_t, u_int32_t *, struct cryptoini *); static int safe_freesession(device_t, u_int64_t); @@ -503,12 +503,13 @@ safe_detach(device_t dev) * Stop all chip i/o so that the kernel's probe routines don't * get confused by errant DMAs when rebooting. */ -static void +static int safe_shutdown(device_t dev) { #ifdef notyet safe_stop(device_get_softc(dev)); #endif + return (0); } /* |
