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 a887c8d
("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: a887c8d ("Bluetooth: hci_qca: schedule a devm action for disabling the clock")
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
  • Loading branch information
Vudentz committed Jul 11, 2024
1 parent 4fa54d8 commit f14c0bb
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 f14c0bb

Please sign in to comment.