From 77b5098ae23d9071911878e908cd4f8353f64dcd Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Mon, 11 May 2015 12:33:15 +0800 Subject: [PATCH] [DeviceDriver] Add more exported symbols for completion. --- components/drivers/src/completion.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/drivers/src/completion.c b/components/drivers/src/completion.c index 48afc2ee34..ef0b2911a7 100644 --- a/components/drivers/src/completion.c +++ b/components/drivers/src/completion.c @@ -39,6 +39,7 @@ void rt_completion_init(struct rt_completion *completion) rt_list_init(&completion->suspended_list); rt_hw_interrupt_enable(level); } +RTM_EXPORT(rt_completion_init); rt_err_t rt_completion_wait(struct rt_completion *completion, rt_int32_t timeout) @@ -105,6 +106,7 @@ __exit: return result; } +RTM_EXPORT(rt_completion_wait); void rt_completion_done(struct rt_completion *completion) { @@ -139,3 +141,5 @@ void rt_completion_done(struct rt_completion *completion) rt_hw_interrupt_enable(level); } } +RTM_EXPORT(rt_completion_done); +