--- x/net/bluetooth/hci_core.c +++ y/net/bluetooth/hci_core.c @@ -2598,7 +2598,7 @@ int hci_register_dev(struct hci_dev *hde if (!IS_ERR_OR_NULL(bt_debugfs)) hdev->debugfs = debugfs_create_dir(hdev->name, bt_debugfs); - error = device_add(&hdev->dev); + error = device_register(&hdev->dev); if (error < 0) goto err_wqueue;