diff options
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 0eec5dbaee0f..c80a9684a144 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -263,7 +263,6 @@ struct hci_dev { | |||
263 | 263 | ||
264 | struct dentry *debugfs; | 264 | struct dentry *debugfs; |
265 | 265 | ||
266 | struct device *parent; | ||
267 | struct device dev; | 266 | struct device dev; |
268 | 267 | ||
269 | struct rfkill *rfkill; | 268 | struct rfkill *rfkill; |
@@ -709,7 +708,7 @@ void hci_conn_init_sysfs(struct hci_conn *conn); | |||
709 | void hci_conn_add_sysfs(struct hci_conn *conn); | 708 | void hci_conn_add_sysfs(struct hci_conn *conn); |
710 | void hci_conn_del_sysfs(struct hci_conn *conn); | 709 | void hci_conn_del_sysfs(struct hci_conn *conn); |
711 | 710 | ||
712 | #define SET_HCIDEV_DEV(hdev, pdev) ((hdev)->parent = (pdev)) | 711 | #define SET_HCIDEV_DEV(hdev, pdev) ((hdev)->dev.parent = (pdev)) |
713 | 712 | ||
714 | /* ----- LMP capabilities ----- */ | 713 | /* ----- LMP capabilities ----- */ |
715 | #define lmp_rswitch_capable(dev) ((dev)->features[0] & LMP_RSWITCH) | 714 | #define lmp_rswitch_capable(dev) ((dev)->features[0] & LMP_RSWITCH) |