All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cobalt/rtdm: add explicit declaration of function rtdm_nrtsig_init
@ 2020-09-17  2:49 hongzha1
  2020-09-17 11:44 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: hongzha1 @ 2020-09-17  2:49 UTC (permalink / raw)
  To: xenomai, jan.kiszka; +Cc: hongzha1

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@intel.com>

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 */
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] cobalt/rtdm: add explicit declaration of function rtdm_nrtsig_init
  2020-09-17  2:49 [PATCH] cobalt/rtdm: add explicit declaration of function rtdm_nrtsig_init hongzha1
@ 2020-09-17 11:44 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2020-09-17 11:44 UTC (permalink / raw)
  To: hongzha1, xenomai

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@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-17 11:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17  2:49 [PATCH] cobalt/rtdm: add explicit declaration of function rtdm_nrtsig_init hongzha1
2020-09-17 11:44 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.