summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/hci_intel.c
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@intel.com>2015-09-04 17:39:25 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-09-17 13:20:05 +0200
commita9cb0fe4895cae95b49934af6fdcc54aa04e723d (patch)
tree6c2686f572a5a0ccfc270adb149227177680a90d /drivers/bluetooth/hci_intel.c
parent0eee53cdd985772284a14b21088e7677aeca45f9 (diff)
Bluetooth: hci_intel: Fix warnings due to unused lpm functions
intel_lpm_suspend/resume are only used in case of CONFIG_PM. Signed-off-by: Loic Poulain <loic.poulain@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_intel.c')
-rw-r--r--drivers/bluetooth/hci_intel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_intel.c b/drivers/bluetooth/hci_intel.c
index b4dc3c5b3841..215e8e9dd65f 100644
--- a/drivers/bluetooth/hci_intel.c
+++ b/drivers/bluetooth/hci_intel.c
@@ -141,6 +141,7 @@ static int intel_wait_booting(struct hci_uart *hu)
return err;
}
+#ifdef CONFIG_PM
static int intel_wait_lpm_transaction(struct hci_uart *hu)
{
struct intel_data *intel = hu->priv;
@@ -249,6 +250,7 @@ static int intel_lpm_resume(struct hci_uart *hu)
return 0;
}
+#endif /* CONFIG_PM */
static int intel_lpm_host_wake(struct hci_uart *hu)
{