summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorArnaud Patard <arnaud.patard@rtp-net.org>2006-09-28 15:29:37 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:03:12 -0700
commit860e13b5c591f1040b76fff57a6a3d6ca9633983 (patch)
treecd6dd159aeb87fe3a7796293e5054f6656758ea3 /net
parent37e97b4ef0d18b77a45a4714154daf3499206654 (diff)
downloadlinux-860e13b5c591f1040b76fff57a6a3d6ca9633983.tar.gz
linux-860e13b5c591f1040b76fff57a6a3d6ca9633983.tar.bz2
linux-860e13b5c591f1040b76fff57a6a3d6ca9633983.zip
[Bluetooth]: Fix section mismatch of bt_sysfs_cleanup()
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 <arnaud.patard@rtp-net.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/hci_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c
index a5c4804b77f4..989b22d9042e 100644
--- 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);