diff --git a/include/osmo-bts/oml.h b/include/osmo-bts/oml.h index 484e210ba..0689bb058 100644 --- a/include/osmo-bts/oml.h +++ b/include/osmo-bts/oml.h @@ -32,7 +32,7 @@ struct gsm_abis_mo { struct gsm_bts *bts; }; -int oml_init(struct gsm_abis_mo *mo); +int oml_init(void); int down_oml(struct gsm_bts *bts, struct msgb *msg); struct msgb *oml_msgb_alloc(void); diff --git a/src/common/abis.c b/src/common/abis.c index 4c62e8f43..5b914c76b 100644 --- a/src/common/abis.c +++ b/src/common/abis.c @@ -259,7 +259,7 @@ void abis_init(struct gsm_bts *bts) { g_bts = bts; - oml_init(&bts->mo); + oml_init(); libosmo_abis_init(tall_bts_ctx); osmo_signal_register_handler(SS_L_INPUT, &inp_s_cbfn, bts); diff --git a/src/common/oml.c b/src/common/oml.c index 2a87b0315..e48f9435c 100644 --- a/src/common/oml.c +++ b/src/common/oml.c @@ -1544,7 +1544,7 @@ int down_oml(struct gsm_bts *bts, struct msgb *msg) return ret; } -int oml_init(struct gsm_abis_mo *mo) +int oml_init() { DEBUGP(DOML, "Initializing OML attribute definitions\n"); tlv_def_patch(&abis_nm_att_tlvdef_ipa_local, &abis_nm_att_tlvdef_ipa);