@@ -86,7 +86,7 @@ static inline const struct ipc4_pipeline_set_state_data *ipc4_get_pipeline_data(
8686
8787 return ppl_data ;
8888}
89- #endif
89+ #endif /* CONFIG_LIBRARY */
9090/*
9191 * Global IPC Operations.
9292 */
@@ -114,7 +114,7 @@ static unsigned int ipc4_user_target_core_module(struct ipc4_message_request *ip
114114
115115 return cpu_get_id ();
116116}
117- #else
117+ #else /* CONFIG_SOF_USERSPACE_LL */
118118__cold static int ipc4_new_pipeline (struct ipc4_message_request * ipc4 )
119119{
120120 struct ipc * ipc = ipc_get ();
@@ -136,7 +136,7 @@ __cold static int ipc4_delete_pipeline(struct ipc4_message_request *ipc4)
136136
137137 return ipc_pipeline_free (ipc , pipe -> primary .r .instance_id );
138138}
139- #endif
139+ #endif /* CONFIG_SOF_USERSPACE_LL */
140140
141141static int ipc4_pcm_params (struct ipc_comp_dev * pcm_dev )
142142{
@@ -653,9 +653,9 @@ __cold static int ipc4_process_chain_dma(struct ipc4_message_request *ipc4)
653653 return IPC4_INVALID_CHAIN_STATE_TRANSITION ;
654654
655655 return IPC4_SUCCESS ;
656- #else
656+ #else /* CONFIG_COMP_CHAIN_DMA */
657657 return IPC4_UNAVAILABLE ;
658- #endif
658+ #endif /* CONFIG_COMP_CHAIN_DMA */
659659}
660660
661661__cold static int ipc4_process_ipcgtw_cmd (struct ipc4_message_request * ipc4 )
@@ -678,10 +678,10 @@ __cold static int ipc4_process_ipcgtw_cmd(struct ipc4_message_request *ipc4)
678678 }
679679
680680 return err < 0 ? IPC4_FAILURE : IPC4_SUCCESS ;
681- #else
681+ #else /* CONFIG_IPC4_GATEWAY */
682682 ipc_cmd_err (& ipc_tr , "CONFIG_IPC4_GATEWAY is disabled" );
683683 return IPC4_UNAVAILABLE ;
684- #endif
684+ #endif /* CONFIG_IPC4_GATEWAY */
685685}
686686
687687static int ipc_glb_gdb_debug (struct ipc4_message_request * ipc4 )
@@ -774,9 +774,9 @@ int ipc4_user_process_glb_message(struct ipc4_message_request *ipc4,
774774 }
775775 ret = ipc_user_forward_cmd (ipc4 -> primary .dat , ipc4 -> extension .dat , ppl -> core );
776776 }
777- #else
777+ #else /* CONFIG_SOF_USERSPACE_LL */
778778 ret = ipc4_set_pipeline_state (ipc4 );
779- #endif
779+ #endif /* CONFIG_SOF_USERSPACE_LL */
780780 break ;
781781
782782 case SOF_IPC4_GLB_GET_PIPELINE_STATE :
@@ -1599,7 +1599,7 @@ __cold int ipc4_user_process_module_message(struct ipc4_message_request *ipc4,
15991599 ipc_get ()-> ipc_user_pdata -> init_drv = drv ;
16001600 ret = ipc_user_forward_cmd (ipc4 -> primary .dat , ipc4 -> extension .dat ,
16011601 mi -> extension .r .core_id );
1602- #endif
1602+ #endif /* CONFIG_SOF_USERSPACE_LL */
16031603 } else {
16041604 /*
16051605 * DP module creation starts running in kernel mode and
@@ -1659,9 +1659,9 @@ __cold int ipc4_user_process_module_message(struct ipc4_message_request *ipc4,
16591659 ret = ipc4_get_large_config_module_instance (ipc4 );
16601660 }
16611661 }
1662- #else
1662+ #else /* CONFIG_SOF_USERSPACE_LL */
16631663 ret = ipc4_get_large_config_module_instance (ipc4 );
1664- #endif
1664+ #endif /* CONFIG_SOF_USERSPACE_LL */
16651665 break ;
16661666 case SOF_IPC4_MOD_LARGE_CONFIG_SET :
16671667#ifdef CONFIG_SOF_USERSPACE_LL
0 commit comments