提交 a9cb0fe4 编写于 作者: L Loic Poulain 提交者: 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: NLoic Poulain <loic.poulain@intel.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 0eee53cd
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册