diff options
author | imp <imp@FreeBSD.org> | 2009-02-05 19:37:49 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-02-05 19:37:49 +0000 |
commit | 3a5200e02e5e318fad8ce45518efc28bb413ac1b (patch) | |
tree | 2046c09eec4d8037ecd5ca9178833569ae12e940 /sys/dev/safe/safe.c | |
parent | 519fc8678e3e7a946c7436fbb69b2caedb40959c (diff) | |
download | FreeBSD-src-3a5200e02e5e318fad8ce45518efc28bb413ac1b.zip FreeBSD-src-3a5200e02e5e318fad8ce45518efc28bb413ac1b.tar.gz |
shutdown returns an int
Diffstat (limited to 'sys/dev/safe/safe.c')
-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 f3f1243..736b329 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); } /* |