diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2004-02-26 04:07:39 +0100 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2004-02-26 04:07:39 +0100 |
| commit | d30e2d066ac5c557cd2fc82502ee1d06a473f2f8 (patch) | |
| tree | 2bcd3dd8373181aac6419542bb04f79a5cd5c0ea /include/net/bluetooth | |
| parent | 51c6d71d1a689abfb51cdaf0cc10439f72d447da (diff) | |
[Bluetooth] Dynamic allocation of HCI device
For correct integration into the driver model the allocation of the HCI
device must be dynamic.
Diffstat (limited to 'include/net/bluetooth')
| -rw-r--r-- | include/net/bluetooth/hci_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 3abfa7573864..4ce3430b34ed 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -348,6 +348,9 @@ static inline struct hci_dev *hci_dev_hold(struct hci_dev *d) struct hci_dev *hci_dev_get(int index); struct hci_dev *hci_get_route(bdaddr_t *src, bdaddr_t *dst); + +struct hci_dev *hci_alloc_dev(void); +void hci_free_dev(struct hci_dev *hdev); int hci_register_dev(struct hci_dev *hdev); int hci_unregister_dev(struct hci_dev *hdev); int hci_suspend_dev(struct hci_dev *hdev); |
