diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-09-25 09:53:59 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-09-28 11:39:04 +0700 |
commit | 64bd96b3f8c178de53b1efbbcedb9d94cb0c176f (patch) | |
tree | 593ba302e5fa3dc71a03f6f58d86a0600946e895 /src/osmo-bts-octphy/octphy_vty.c | |
parent | 4785fe7622e6e47dba6f891a9226a1d64af6a05a (diff) |
vty: make most struct pointers const in show/write commands
Change-Id: Iacc32f7982c150d84ea4df7affa1f9e07806928f
Diffstat (limited to 'src/osmo-bts-octphy/octphy_vty.c')
-rw-r--r-- | src/osmo-bts-octphy/octphy_vty.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osmo-bts-octphy/octphy_vty.c b/src/osmo-bts-octphy/octphy_vty.c index afc2ce7b..8b263fdf 100644 --- a/src/osmo-bts-octphy/octphy_vty.c +++ b/src/osmo-bts-octphy/octphy_vty.c @@ -360,7 +360,7 @@ DEFUN(show_clk_sync_stats, show_clk_sync_stats_cmd, return CMD_SUCCESS; } -void bts_model_config_write_phy(struct vty *vty, struct phy_link *plink) +void bts_model_config_write_phy(struct vty *vty, const struct phy_link *plink) { if (plink->u.octphy.netdev_name) vty_out(vty, " octphy net-device %s%s", @@ -399,15 +399,15 @@ void bts_model_config_write_phy(struct vty *vty, struct phy_link *plink) #endif } -void bts_model_config_write_phy_inst(struct vty *vty, struct phy_instance *pinst) +void bts_model_config_write_phy_inst(struct vty *vty, const struct phy_instance *pinst) { } -void bts_model_config_write_bts(struct vty *vty, struct gsm_bts *bts) +void bts_model_config_write_bts(struct vty *vty, const struct gsm_bts *bts) { } -void bts_model_config_write_trx(struct vty *vty, struct gsm_bts_trx *trx) +void bts_model_config_write_trx(struct vty *vty, const struct gsm_bts_trx *trx) { } |