intel_lpm_suspend/resume are only used in case of CONFIG_PM. Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxx> --- drivers/bluetooth/hci_intel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bluetooth/hci_intel.c b/drivers/bluetooth/hci_intel.c index 8c9c2b6..70e9e47 100644 --- a/drivers/bluetooth/hci_intel.c +++ b/drivers/bluetooth/hci_intel.c @@ -163,6 +163,7 @@ static int intel_wait_lpm_transaction(struct hci_uart *hu) return err; } +#ifdef CONFIG_PM static int intel_lpm_suspend(struct hci_uart *hu) { static const u8 suspend[] = { 0x01, 0x01, 0x01 }; @@ -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) { -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html