intel_suspend/resume depend on CONFIG_PM_SLEEP. They are unused in
other cases.
Signed-off-by: Loic Poulain <[email protected]>
---
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 ad45b9a..49e2540 100644
--- a/drivers/bluetooth/hci_intel.c
+++ b/drivers/bluetooth/hci_intel.c
@@ -1207,7 +1207,9 @@ static int intel_resume_device(struct device *dev)
return 0;
}
+#endif
+#ifdef CONFIG_PM_SLEEP
static int intel_suspend(struct device *dev)
{
struct intel_device *idev = dev_get_drvdata(dev);
--
1.9.1
Hi Loic,
> intel_suspend/resume depend on CONFIG_PM_SLEEP. They are unused in
> other cases.
>
> Signed-off-by: Loic Poulain <[email protected]>
> ---
> drivers/bluetooth/hci_intel.c | 2 ++
> 1 file changed, 2 insertions(+)
I amended your previous patch and push it to bluetooth-next tree.
Regards
Marcel