[Bluetooth] Add platform device for virtual and serial devices
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / bluetooth / bt3c_cs.c
index b94ac2f9f7baf2d5e9cc0641e52de23cd1536d13..df7bb016df491bdda5296eeee2b74e60e7713704 100644 (file)
@@ -21,7 +21,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 
 #include <linux/kernel.h>
@@ -583,6 +582,7 @@ static int bt3c_open(bt3c_info_t *info)
 
        hdev->type = HCI_PCCARD;
        hdev->driver_data = info;
+       SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
 
        hdev->open     = bt3c_hci_open;
        hdev->close    = bt3c_hci_close;