diff options
author | avg <avg@FreeBSD.org> | 2009-06-11 17:14:28 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2009-06-11 17:14:28 +0000 |
commit | d5ad944b79d33fa75c3e6f59b5cd900550993783 (patch) | |
tree | 99454c55202dfe1adf0ecef7f0dcf12ee4d6f372 /sys/dev/snc/if_snc.c | |
parent | 81fd220c2be02fb5701cdd81386668eb242d435d (diff) | |
download | FreeBSD-src-d5ad944b79d33fa75c3e6f59b5cd900550993783.zip FreeBSD-src-d5ad944b79d33fa75c3e6f59b5cd900550993783.tar.gz |
strict kobj sigs: fix assortment of device_detach and device_shutdown impls
with common issue of having void return type instead of int
Reviewed by: imp, current@
Approved by: jhb (mentor)
Diffstat (limited to 'sys/dev/snc/if_snc.c')
-rw-r--r-- | sys/dev/snc/if_snc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/snc/if_snc.c b/sys/dev/snc/if_snc.c index e89e1c7..02ac7eb 100644 --- a/sys/dev/snc/if_snc.c +++ b/sys/dev/snc/if_snc.c @@ -252,7 +252,7 @@ snc_attach(dev) Shutdown routine ****************************************************************/ -void +int snc_shutdown(dev) device_t dev; { @@ -261,4 +261,6 @@ snc_shutdown(dev) SNC_LOCK(sc); sncshutdown(sc); SNC_UNLOCK(sc); + + return (0); } |