We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658c56d commit 3aa7901Copy full SHA for 3aa7901
drivers/bluetooth/btnxpuart.c
@@ -1522,6 +1522,7 @@ static void nxp_serdev_remove(struct serdev_device *serdev)
1522
hci_free_dev(hdev);
1523
}
1524
1525
+#ifdef CONFIG_PM_SLEEP
1526
static int nxp_serdev_suspend(struct device *dev)
1527
{
1528
struct btnxpuart_dev *nxpdev = dev_get_drvdata(dev);
@@ -1539,6 +1540,7 @@ static int nxp_serdev_resume(struct device *dev)
1539
1540
ps_control(psdata->hdev, PS_STATE_AWAKE);
1541
return 0;
1542
1543
+#endif
1544
1545
static struct btnxpuart_data w8987_data __maybe_unused = {
1546
.helper_fw_name = NULL,
0 commit comments