You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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>
This commit is contained in:
committed by
David S. Miller
parent
27d3528425
commit
a91f2e396f
+2
-2
@@ -969,7 +969,7 @@ static int __init sco_init(void)
|
||||
goto error;
|
||||
}
|
||||
|
||||
class_create_file(&bt_class, &class_attr_sco);
|
||||
class_create_file(bt_class, &class_attr_sco);
|
||||
|
||||
BT_INFO("SCO (Voice Link) ver %s", VERSION);
|
||||
BT_INFO("SCO socket layer initialized");
|
||||
@@ -983,7 +983,7 @@ error:
|
||||
|
||||
static void __exit sco_exit(void)
|
||||
{
|
||||
class_remove_file(&bt_class, &class_attr_sco);
|
||||
class_remove_file(bt_class, &class_attr_sco);
|
||||
|
||||
if (bt_sock_unregister(BTPROTO_SCO) < 0)
|
||||
BT_ERR("SCO socket unregistration failed");
|
||||
|
||||
Reference in New Issue
Block a user