From b873b91c5fd855d1e67a15fe13228919644f3747 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Fri, 19 Apr 2019 02:03:47 +0700 Subject: common/oml.c: constify argument 'trx' of handle_attrs_trx() Change-Id: Id476d492b3c1d0c728fca9eb0fb2254512bdef72 --- include/osmo-bts/phy_link.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.2.3