mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Preparation for usb-bt-dongle conditional build
To allow disable usb-bt-dongle device using CONFIG_BLUETOOTH option, some of functions in vl.c file has to be made accessible in dev-bluetooth.c. This is pure code moving. Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
c60174e847
commit
644e1a8a34
4 changed files with 74 additions and 69 deletions
|
@ -108,12 +108,15 @@ struct bt_device_s {
|
|||
uint16_t clkoff; /* Note: Always little-endian */
|
||||
};
|
||||
|
||||
extern struct HCIInfo null_hci;
|
||||
/* bt.c */
|
||||
void bt_device_init(struct bt_device_s *dev, struct bt_scatternet_s *net);
|
||||
void bt_device_done(struct bt_device_s *dev);
|
||||
struct bt_scatternet_s *qemu_find_bt_vlan(int id);
|
||||
|
||||
/* bt-hci.c */
|
||||
struct HCIInfo *bt_new_hci(struct bt_scatternet_s *net);
|
||||
struct HCIInfo *hci_init(const char *str);
|
||||
|
||||
/* bt-vhci.c */
|
||||
void bt_vhci_init(struct HCIInfo *info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue