From: Luiz Augusto von Dentz Date: Thu, 11 Jul 2024 02:30:57 +0000 (-0400) Subject: Bluetooth: hci_qca: Fix build error X-Git-Tag: v6.11-rc1~163^2~12^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84f9288208dfcd955446060a53add15b9e01af4e;p=thirdparty%2Fkernel%2Flinux.git Bluetooth: hci_qca: Fix build error This fixes the following build error introduced by b80f4e3b8cb8 ("Bluetooth: hci_qca: schedule a devm action for disabling the clock"): drivers/bluetooth/hci_qca.c: In function ‘qca_serdev_remove’: drivers/bluetooth/hci_qca.c:2501:2: error: label at end of compound statement 2501 | default: | ^~~~~~~ Fixes: b80f4e3b8cb8 ("Bluetooth: hci_qca: schedule a devm action for disabling the clock") Signed-off-by: Luiz Augusto von Dentz --- diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c index 030153d468bfd..ca64666769027 100644 --- a/drivers/bluetooth/hci_qca.c +++ b/drivers/bluetooth/hci_qca.c @@ -2499,6 +2499,7 @@ static void qca_serdev_remove(struct serdev_device *serdev) qca_power_shutdown(&qcadev->serdev_hu); break; default: + break; } hci_uart_unregister_device(&qcadev->serdev_hu);