Commit a9cb0fe4 authored by Loic Poulain's avatar Loic Poulain Committed by Marcel Holtmann

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: default avatarLoic Poulain <loic.poulain@intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 0eee53cd
...@@ -141,6 +141,7 @@ static int intel_wait_booting(struct hci_uart *hu) ...@@ -141,6 +141,7 @@ static int intel_wait_booting(struct hci_uart *hu)
return err; return err;
} }
#ifdef CONFIG_PM
static int intel_wait_lpm_transaction(struct hci_uart *hu) static int intel_wait_lpm_transaction(struct hci_uart *hu)
{ {
struct intel_data *intel = hu->priv; struct intel_data *intel = hu->priv;
...@@ -249,6 +250,7 @@ static int intel_lpm_resume(struct hci_uart *hu) ...@@ -249,6 +250,7 @@ static int intel_lpm_resume(struct hci_uart *hu)
return 0; return 0;
} }
#endif /* CONFIG_PM */
static int intel_lpm_host_wake(struct hci_uart *hu) static int intel_lpm_host_wake(struct hci_uart *hu)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment