]> git.baikalelectronics.ru Git - kernel.git/commit
[Bluetooth]: Fix section mismatch of bt_sysfs_cleanup()
authorArnaud Patard <arnaud.patard@rtp-net.org>
Thu, 28 Sep 2006 22:29:37 +0000 (15:29 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:03:12 +0000 (18:03 -0700)
commit7b147fc300c3c9a0a3b02dc1832e95bb3153d401
treecd6dd159aeb87fe3a7796293e5054f6656758ea3
parent49c22b406a0112b2bcab9d4217a9ca08347f742e
[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>
net/bluetooth/hci_sysfs.c