diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-10-04 20:43:39 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-10-06 20:35:48 +0200 |
commit | c0d3ce580b7c8f0b7c14306f7d8654a4f30a665d (patch) | |
tree | 6776bca2c0e2c92343755f6856f3752c2f8bfd2d /include/sound/simple_card.h | |
parent | 4a56f891efceee88d422af2e99d00c8321c671c1 (diff) |
Bluetooth: hci_bcm: Store device pointer instead of platform_device pointer
The ACPI subsys is going to move over to instantiating ACPI enumerated
HCIs as serdevs, rather then as platform devices.
This means that the serdev driver paths of hci_bcm.c also need to start
supporting (runtime)pm through GPIOs and a host-wake IRQ.
The hci_bcm code is already mostly independent of how the HCI gets
instantiated, but even though the code only cares about pdev->dev, it
was storing pdev itself in struct bcm_device.
This commit stores pdev->dev rather then pdev in struct bcm_device, this
is a preparation patch for adding (runtime)pm support to the serdev path.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/sound/simple_card.h')
0 files changed, 0 insertions, 0 deletions