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
changes/37/28937/1
Philipp Maier 2 months ago
parent cba82e60e8
commit 914e52e73a
  1. 2
      src/osmo-bsc/abis_om2000.c

@ -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;

Loading…
Cancel
Save