aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/l1_if.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-09 13:43:50 +0100
committerHarald Welte <laforge@gnumonks.org>2016-01-16 17:47:59 +0100
commit2bf00d772905942b0baef20c84d2d320f3f647f8 (patch)
tree4514b1fd6b80622cc8b6977a8dfb69d244a7a208 /src/osmo-bts-trx/l1_if.h
parent12992d86dc443a0d03efcb19ee8ab812506df950 (diff)
TRX: mark scheduler data structures as 'const'
Those are read-only tables which should end up in the text segment and not in writable data.
Diffstat (limited to 'src/osmo-bts-trx/l1_if.h')
-rw-r--r--src/osmo-bts-trx/l1_if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/l1_if.h b/src/osmo-bts-trx/l1_if.h
index 278537e1..b8e8da61 100644
--- a/src/osmo-bts-trx/l1_if.h
+++ b/src/osmo-bts-trx/l1_if.h
@@ -156,7 +156,7 @@ struct trx_l1h {
uint8_t mf_index[8]; /* selected multiframe index */
uint32_t mf_last_fn[8]; /* last received frame */
uint8_t mf_period[8]; /* period of multiframe */
- struct trx_sched_frame *mf_frames[8]; /* pointer to frame layout */
+ const struct trx_sched_frame *mf_frames[8]; /* pointer to frame layout */
/* Channel states for all channels on all timeslots */
struct trx_chan_state chan_states[8][_TRX_CHAN_MAX];