From 3a5200e02e5e318fad8ce45518efc28bb413ac1b Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 5 Feb 2009 19:37:49 +0000 Subject: shutdown returns an int --- sys/dev/hifn/hifn7751.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/hifn') diff --git a/sys/dev/hifn/hifn7751.c b/sys/dev/hifn/hifn7751.c index d3a66e6..c227f77 100644 --- a/sys/dev/hifn/hifn7751.c +++ b/sys/dev/hifn/hifn7751.c @@ -98,7 +98,7 @@ static int hifn_attach(device_t); static int hifn_detach(device_t); static int hifn_suspend(device_t); static int hifn_resume(device_t); -static void hifn_shutdown(device_t); +static int hifn_shutdown(device_t); static int hifn_newsession(device_t, u_int32_t *, struct cryptoini *); static int hifn_freesession(device_t, u_int64_t); @@ -691,12 +691,13 @@ hifn_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 hifn_shutdown(device_t dev) { #ifdef notyet hifn_stop(device_get_softc(dev)); #endif + return (0); } /* -- cgit v1.1