intel_suspend/resume depend on CONFIG_PM_SLEEP. They are unused in other cases. 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 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 -- 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