diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-07-03 04:02:41 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-07-03 22:54:02 -0400 |
commit | a91f2e396f5b32b21d842b4757bc8de5e88eac66 (patch) | |
tree | 174b88a20feea87734bf63ec7104eae0b205649a /net/bluetooth/sco.c | |
parent | 27d35284258c596900e0e41c46932ec4abe6a7b1 (diff) |
[Bluetooth] Use real devices for host controllers
This patch converts the Bluetooth class devices into real devices. The
Bluetooth class is kept and the driver core provides the appropriate
symlinks for backward compatibility.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/sco.c')
-rw-r--r-- | net/bluetooth/sco.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index a5f1e44db5d3..85defccc0287 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c | |||
@@ -969,7 +969,7 @@ static int __init sco_init(void) | |||
969 | goto error; | 969 | goto error; |
970 | } | 970 | } |
971 | 971 | ||
972 | class_create_file(&bt_class, &class_attr_sco); | 972 | class_create_file(bt_class, &class_attr_sco); |
973 | 973 | ||
974 | BT_INFO("SCO (Voice Link) ver %s", VERSION); | 974 | BT_INFO("SCO (Voice Link) ver %s", VERSION); |
975 | BT_INFO("SCO socket layer initialized"); | 975 | BT_INFO("SCO socket layer initialized"); |
@@ -983,7 +983,7 @@ error: | |||
983 | 983 | ||
984 | static void __exit sco_exit(void) | 984 | static void __exit sco_exit(void) |
985 | { | 985 | { |
986 | class_remove_file(&bt_class, &class_attr_sco); | 986 | class_remove_file(bt_class, &class_attr_sco); |
987 | 987 | ||
988 | if (bt_sock_unregister(BTPROTO_SCO) < 0) | 988 | if (bt_sock_unregister(BTPROTO_SCO) < 0) |
989 | BT_ERR("SCO socket unregistration failed"); | 989 | BT_ERR("SCO socket unregistration failed"); |