diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2009-06-11 17:14:28 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2009-06-11 17:14:28 +0000 |
commit | c0e55e3b65ffb5b5aa0f4c0f76f4ed62c6d25993 (patch) | |
tree | 99454c55202dfe1adf0ecef7f0dcf12ee4d6f372 /sys/dev/snc/if_snc.c | |
parent | 385a7316b4ce10be1acd7ec1855a384c6d4d6b4b (diff) | |
download | src-c0e55e3b65ffb5b5aa0f4c0f76f4ed62c6d25993.tar.gz src-c0e55e3b65ffb5b5aa0f4c0f76f4ed62c6d25993.zip |
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)
Notes
Notes:
svn path=/head/; revision=194023
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 e89e1c7f0f3e..02ac7eb764fb 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); } |