Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27d35284 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by David S. Miller
Browse files

[Bluetooth] Add platform device for virtual and serial devices



This patch adds a generic Bluetooth platform device that can be used
as parent device by virtual and serial devices.

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 04837f64
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -739,6 +739,7 @@ static int bluecard_open(bluecard_info_t *info)

	hdev->type = HCI_PCCARD;
	hdev->driver_data = info;
	SET_HCIDEV_DEV(hdev, &info->p_dev->dev);

	hdev->open     = bluecard_hci_open;
	hdev->close    = bluecard_hci_close;
+1 −0
Original line number Diff line number Diff line
@@ -582,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;
+1 −0
Original line number Diff line number Diff line
@@ -502,6 +502,7 @@ static int btuart_open(btuart_info_t *info)

	hdev->type = HCI_PCCARD;
	hdev->driver_data = info;
	SET_HCIDEV_DEV(hdev, &info->p_dev->dev);

	hdev->open     = btuart_hci_open;
	hdev->close    = btuart_hci_close;
+1 −0
Original line number Diff line number Diff line
@@ -484,6 +484,7 @@ static int dtl1_open(dtl1_info_t *info)

	hdev->type = HCI_PCCARD;
	hdev->driver_data = info;
	SET_HCIDEV_DEV(hdev, &info->p_dev->dev);

	hdev->open     = dtl1_hci_open;
	hdev->close    = dtl1_hci_close;
+0 −1
Original line number Diff line number Diff line
@@ -277,7 +277,6 @@ static int vhci_open(struct inode *inode, struct file *file)

	hdev->type = HCI_VHCI;
	hdev->driver_data = vhci;
	SET_HCIDEV_DEV(hdev, vhci_miscdev.dev);

	hdev->open     = vhci_open_dev;
	hdev->close    = vhci_close_dev;
Loading