projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eee53c
)
Bluetooth: hci_intel: Fix warnings due to unused lpm functions
author
Loic Poulain
<loic.poulain@intel.com>
Fri, 4 Sep 2015 15:39:25 +0000
(17:39 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:05 +0000
(13:20 +0200)
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>
drivers/bluetooth/hci_intel.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/hci_intel.c
b/drivers/bluetooth/hci_intel.c
index b4dc3c5b384128fb6d79f5d3b664bde95a0c162a..215e8e9dd65f664174e728bef4a91c46a826f1a4 100644
(file)
--- 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)
{