abis_om2000: constify mo in mo2obj

The function mo2obj does only read only access to mo, so mo can be
const.

Change-Id: Ia09d0c96c8938e287fdbad343b9605cbfd6ff6a1
Related: OS#5101
This commit is contained in:
Philipp Maier 2022-08-05 11:54:15 +02:00
parent cba82e60e8
commit 914e52e73a
1 changed files with 1 additions and 1 deletions

View File

@ -932,7 +932,7 @@ static struct gsm_nm_state *mo2nm_state(struct gsm_bts *bts, const struct abis_o
return nm_state;
}
static void *mo2obj(struct gsm_bts *bts, struct abis_om2k_mo *mo)
static void *mo2obj(struct gsm_bts *bts, const struct abis_om2k_mo *mo)
{
struct gsm_bts_trx *trx;