Skip to content

Commit 44b70a8

Browse files
committed
schedule: LL: limit scope of two functions
scheduler_get_task_info_ll() and zephyr_ll_domain() are only needed when CONFIG_SOF_USERSPACE_LL=y Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 69ea9d3 commit 44b70a8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/schedule/zephyr_ll.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ __cold int zephyr_ll_scheduler_init(struct ll_schedule_domain *domain)
752752
return 0;
753753
}
754754

755+
#if CONFIG_SOF_USERSPACE_LL
755756
void scheduler_get_task_info_ll(struct scheduler_props *scheduler_props,
756757
uint32_t *data_off_size)
757758
{
@@ -772,3 +773,4 @@ struct ll_schedule_domain *zephyr_ll_domain(void)
772773

773774
return ll_sch ? ll_sch->ll_domain : NULL;
774775
}
776+
#endif

0 commit comments

Comments
 (0)