fixeria has submitted this change. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/30533 )

Change subject: trxcon: fix l1ctl_tx_dt_conf(): accept const *cnf
......................................................................

trxcon: fix l1ctl_tx_dt_conf(): accept const *cnf

The *cnf param of l1ctl_tx_dt_conf() was already declared as const
in the header file, however it was not in the actual function
definition.  Take a chance to fix formatting in the header.

Change-Id: I842ac717a6959830c536cbf91efdbb6a4ee931ce
---
M src/host/trxcon/include/osmocom/bb/trxcon/l1ctl.h
M src/host/trxcon/src/l1ctl.c
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



diff --git a/src/host/trxcon/include/osmocom/bb/trxcon/l1ctl.h 
b/src/host/trxcon/include/osmocom/bb/trxcon/l1ctl.h
index 949960c..7e2fa6a 100644
--- a/src/host/trxcon/include/osmocom/bb/trxcon/l1ctl.h
+++ b/src/host/trxcon/include/osmocom/bb/trxcon/l1ctl.h
@@ -17,6 +17,6 @@
 int l1ctl_tx_dt_ind(struct trxcon_inst *trxcon,
                    const struct trxcon_param_rx_data_ind *ind);
 int l1ctl_tx_dt_conf(struct trxcon_inst *trxcon,
-                   const struct trxcon_param_tx_data_cnf *cnf);
+                    const struct trxcon_param_tx_data_cnf *cnf);
 int l1ctl_tx_rach_conf(struct trxcon_inst *trxcon,
                       const struct trxcon_param_tx_access_burst_cnf *cnf);
diff --git a/src/host/trxcon/src/l1ctl.c b/src/host/trxcon/src/l1ctl.c
index f28bdc8..e424524 100644
--- a/src/host/trxcon/src/l1ctl.c
+++ b/src/host/trxcon/src/l1ctl.c
@@ -311,7 +311,7 @@
  * Handles both L1CTL_DATA_CONF and L1CTL_TRAFFIC_CONF.
  */
 int l1ctl_tx_dt_conf(struct trxcon_inst *trxcon,
-                    struct trxcon_param_tx_data_cnf *cnf)
+                    const struct trxcon_param_tx_data_cnf *cnf)
 {
        struct msgb *msg;


--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/30533
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I842ac717a6959830c536cbf91efdbb6a4ee931ce
Gerrit-Change-Number: 30533
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to