[PATCH] cobalt/rtdm: add explicit declaration of function rtdm_nrtsig_init

Jan Kiszka jan.kiszka at siemens.com
Thu Sep 17 13:44:37 CEST 2020


On 17.09.20 04:49, hongzha1 wrote:
> fix implicit declaration of function error when compile other cobalt
> drivers calling rtdm_nrtsig_init
> 
> ---
> this patch is for wip/dovetail branch
> 
> Signed-off-by: hongzha1 <hongzhan.chen at intel.com>

Signed off needs to be above the "---" separator.

> 
> diff --git a/include/cobalt/kernel/rtdm/driver.h b/include/cobalt/kernel/rtdm/driver.h
> index 2f10fa797..70bea02be 100644
> --- a/include/cobalt/kernel/rtdm/driver.h
> +++ b/include/cobalt/kernel/rtdm/driver.h
> @@ -902,6 +902,9 @@ struct rtdm_nrtsig {
>   	struct irq_work irq_work;
>   };
>   
> +int rtdm_nrtsig_init(rtdm_nrtsig_t *nrt_sig, rtdm_nrtsig_handler_t handler,
> +		void *arg);
> +
>   void rtdm_schedule_nrt_work(struct work_struct *lostage_work);
>   /** @} rtdm_nrtsignal */
>   
> 

Thanks, applied.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



More information about the Xenomai mailing list