aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-04-19 02:03:47 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-04-19 20:20:47 +0700
commitb873b91c5fd855d1e67a15fe13228919644f3747 (patch)
treebcdf1f6422108e123978b9c36cbbf24880afded8 /include
parentac3924e093259aec750a828c6bcbf3e76c1a03ca (diff)
common/oml.c: constify argument 'trx' of handle_attrs_trx()
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/phy_link.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h
index 2472c051..812f1865 100644
--- a/include/osmo-bts/phy_link.h
+++ b/include/osmo-bts/phy_link.h
@@ -166,7 +166,7 @@ const char *phy_instance_name(struct phy_instance *pinst);
void phy_user_statechg_notif(struct phy_instance *pinst, enum phy_link_state link_state);
-static inline struct phy_instance *trx_phy_instance(struct gsm_bts_trx *trx)
+static inline struct phy_instance *trx_phy_instance(const struct gsm_bts_trx *trx)
{
OSMO_ASSERT(trx);
return trx->role_bts.l1h;