diff options
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index ae67b36d76dc..d84855fe7336 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -124,8 +124,8 @@ struct hci_dev { | |||
124 | 124 | ||
125 | atomic_t promisc; | 125 | atomic_t promisc; |
126 | 126 | ||
127 | struct device *dev; | 127 | struct device *parent; |
128 | struct class_device class_dev; | 128 | struct device dev; |
129 | 129 | ||
130 | struct module *owner; | 130 | struct module *owner; |
131 | 131 | ||
@@ -413,7 +413,7 @@ static inline int hci_recv_frame(struct sk_buff *skb) | |||
413 | int hci_register_sysfs(struct hci_dev *hdev); | 413 | int hci_register_sysfs(struct hci_dev *hdev); |
414 | void hci_unregister_sysfs(struct hci_dev *hdev); | 414 | void hci_unregister_sysfs(struct hci_dev *hdev); |
415 | 415 | ||
416 | #define SET_HCIDEV_DEV(hdev, pdev) ((hdev)->class_dev.dev = (pdev)) | 416 | #define SET_HCIDEV_DEV(hdev, pdev) ((hdev)->parent = (pdev)) |
417 | 417 | ||
418 | /* ----- LMP capabilities ----- */ | 418 | /* ----- LMP capabilities ----- */ |
419 | #define lmp_rswitch_capable(dev) ((dev)->features[0] & LMP_RSWITCH) | 419 | #define lmp_rswitch_capable(dev) ((dev)->features[0] & LMP_RSWITCH) |