public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] fixup! Bluetooth: btusb: Use pm_ptr instead of #ifdef CONFIG_PM
@ 2026-01-20 18:17 Luiz Augusto von Dentz
  2026-01-20 19:02 ` [v1] " bluez.test.bot
  2026-01-20 21:41 ` [PATCH v1] " Bastien Nocera
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2026-01-20 18:17 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

---
 drivers/bluetooth/btusb.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 759def260ed0..f9fba78f0a4a 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -4468,7 +4468,8 @@ static void btusb_disconnect(struct usb_interface *intf)
 	kfree(data);
 }
 
-static int btusb_suspend(struct usb_interface *intf, pm_message_t message)
+static int __maybe_unused btusb_suspend(struct usb_interface *intf,
+					pm_message_t message)
 {
 	struct btusb_data *data = usb_get_intfdata(intf);
 
@@ -4557,7 +4558,7 @@ static void play_deferred(struct btusb_data *data)
 	}
 }
 
-static int btusb_resume(struct usb_interface *intf)
+static int __maybe_unused btusb_resume(struct usb_interface *intf)
 {
 	struct btusb_data *data = usb_get_intfdata(intf);
 	struct hci_dev *hdev = data->hdev;
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-20 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20 18:17 [PATCH v1] fixup! Bluetooth: btusb: Use pm_ptr instead of #ifdef CONFIG_PM Luiz Augusto von Dentz
2026-01-20 19:02 ` [v1] " bluez.test.bot
2026-01-20 21:41 ` [PATCH v1] " Bastien Nocera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox