aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/phy_link.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmo-bts/phy_link.h')
-rw-r--r--include/osmo-bts/phy_link.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h
index 812f1865..273103c6 100644
--- a/include/osmo-bts/phy_link.h
+++ b/include/osmo-bts/phy_link.h
@@ -173,3 +173,5 @@ static inline struct phy_instance *trx_phy_instance(const struct gsm_bts_trx *tr
}
int bts_model_phy_link_open(struct phy_link *plink);
+
+#define LOGPPHI(pinst, section, lvl, fmt, args...) LOGP(section, lvl, "%s: " fmt, phy_instance_name(pinst), ##args)