projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37e97b4
)
[Bluetooth]: Fix section mismatch of bt_sysfs_cleanup()
author
Arnaud Patard
<
[email protected]
>
Thu, 28 Sep 2006 22:29:37 +0000
(15:29 -0700)
committer
David S. Miller
<
[email protected]
>
Fri, 29 Sep 2006 01:03:12 +0000
(18:03 -0700)
The bt_sysfs_cleanup() is marked with __exit attribute, but it will
be called from an __init function in the error case. So the __exit
attribute must be removed.
Signed-off-by: Arnaud Patard <
[email protected]
>
Signed-off-by: Marcel Holtmann <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/bluetooth/hci_sysfs.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_sysfs.c
b/net/bluetooth/hci_sysfs.c
index a5c4804b77f4ed5db70441320bd7e70fff33fe41..989b22d9042e92f929435d9f0290d2d429e7fd75 100644
(file)
--- a/
net/bluetooth/hci_sysfs.c
+++ b/
net/bluetooth/hci_sysfs.c
@@
-348,7
+348,7
@@
int __init bt_sysfs_init(void)
return 0;
}
-void
__exit
bt_sysfs_cleanup(void)
+void bt_sysfs_cleanup(void)
{
class_destroy(bt_class);