trxcon: move l1sched_logging_init() from l1sched.h to logging.h

Change-Id: I43e21ca8a14445548e1d359bb6f8a3e36cb65bfa
Related: OS#5599
This commit is contained in:
Vadim Yanitskiy 2022-11-12 02:29:18 +07:00
parent 13046f172d
commit a7f399eb95
2 changed files with 2 additions and 1 deletions

View File

@ -389,7 +389,6 @@ const struct l1sched_tdma_multiframe *l1sched_mframe_layout(
enum gsm_phys_chan_config config, int tn);
/* Scheduler management functions */
void l1sched_logging_init(int log_cat_common, int log_cat_data);
struct l1sched_state *l1sched_alloc(void *ctx, const struct l1sched_cfg *cfg, void *priv);
void l1sched_reset(struct l1sched_state *sched, bool reset_clock);
void l1sched_free(struct l1sched_state *sched);

View File

@ -3,6 +3,8 @@
extern int l1sched_log_cat_common;
extern int l1sched_log_cat_data;
void l1sched_logging_init(int log_cat_common, int log_cat_data);
/* Messages using l1sched_state as the context */
#define LOGP_SCHED_CAT(sched, cat, level, fmt, args...) \
LOGP(l1sched_log_cat_##cat, level, "%s" fmt, \