summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorMeco Jianting Man <[email protected]>2021-07-30 10:43:19 -0500
committerGitHub <[email protected]>2021-07-30 10:43:19 -0500
commit2589d245325d95f0291e27886f93644d1f762f53 (patch)
tree432e10f647be74abf9d6d58e131b0496bfae3fa3 /components/drivers/include
parent19c5088bb8b6cfdc9e3cecc63b6f9c116a799c49 (diff)
parent56d3abe30148a07dd41d78e8aa190f9baa164266 (diff)
Merge branch 'master' into tz
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/ipc/workqueue.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/drivers/include/ipc/workqueue.h b/components/drivers/include/ipc/workqueue.h
index 03d38b2f4d..a156145641 100644
--- a/components/drivers/include/ipc/workqueue.h
+++ b/components/drivers/include/ipc/workqueue.h
@@ -69,7 +69,7 @@ rt_err_t rt_workqueue_critical_work(struct rt_workqueue *queue, struct rt_work *
#ifdef RT_USING_SYSTEM_WORKQUEUE
rt_err_t rt_work_submit(struct rt_work *work, rt_tick_t time);
rt_err_t rt_work_cancel(struct rt_work *work);
-#endif
+#endif /* RT_USING_SYSTEM_WORKQUEUE */
rt_inline void rt_work_init(struct rt_work *work, void (*work_func)(struct rt_work *work, void *work_data),
void *work_data)
@@ -85,7 +85,6 @@ rt_inline void rt_work_init(struct rt_work *work, void (*work_func)(struct rt_wo
void rt_delayed_work_init(struct rt_delayed_work *work, void (*work_func)(struct rt_work *work,
void *work_data), void *work_data);
-int rt_work_sys_workqueue_init(void);
-#endif
+#endif /* RT_USING_HEAP */
#endif