Bluetooth: Audio: Make bt_tbs_client_cb const

Add `const` for the bt_tbs_client_cb as it is a singleton
that should not change over time.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2022-03-17 12:56:08 +01:00 committed by Carles Cufí
commit a7ed7b7250
3 changed files with 4 additions and 4 deletions

View file

@ -70,7 +70,7 @@ static void tbs_client_discover_cb(struct bt_conn *conn, int err,
discovery_complete = true;
}
static struct bt_tbs_client_cb tbs_client_cbs = {
static const struct bt_tbs_client_cb tbs_client_cbs = {
.discover = tbs_client_discover_cb,
.originate_call = NULL,
.terminate_call = NULL,