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/lmc/if_lmc.c | 3 ++- sys/dev/lmc/if_lmc.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/lmc') 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__ */ -- cgit v1.1