[Bluetooth] Add platform device for virtual and serial devices
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / bluetooth / dtl1_cs.c
index be6eed175aa3ff74dea2291a3d9bc6b5af0520ae..0e99def8a1e3886f9abab5591343600515943efb 100644 (file)
@@ -484,6 +484,7 @@ static int dtl1_open(dtl1_info_t *info)
 
        hdev->type = HCI_PCCARD;
        hdev->driver_data = info;
+       SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
 
        hdev->open     = dtl1_hci_open;
        hdev->close    = dtl1_hci_close;