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/lmc | |
parent | 519fc8678e3e7a946c7436fbb69b2caedb40959c (diff) | |
download | FreeBSD-src-3a5200e02e5e318fad8ce45518efc28bb413ac1b.zip FreeBSD-src-3a5200e02e5e318fad8ce45518efc28bb413ac1b.tar.gz |
shutdown returns an int
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 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__ */ |