Skip to content

Commit

Permalink
Bluetooth: hci_qca: Fix build error
Browse files Browse the repository at this point in the history
This fixes the following build error introduced by b80f4e3
("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: b80f4e3 ("Bluetooth: hci_qca: schedule a devm action for disabling the clock")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  • Loading branch information
Vudentz committed Jul 15, 2024
1 parent 921ad28 commit 84f9288
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/bluetooth/hci_qca.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 84f9288

Please sign in to comment.