[DeviceDriver] Add more exported symbols for completion.

This commit is contained in:
Bernard Xiong 2015-05-11 12:33:15 +08:00
parent 7e981e3e26
commit 77b5098ae2
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,7 @@ void rt_completion_init(struct rt_completion *completion)
rt_list_init(&completion->suspended_list); rt_list_init(&completion->suspended_list);
rt_hw_interrupt_enable(level); rt_hw_interrupt_enable(level);
} }
RTM_EXPORT(rt_completion_init);
rt_err_t rt_completion_wait(struct rt_completion *completion, rt_err_t rt_completion_wait(struct rt_completion *completion,
rt_int32_t timeout) rt_int32_t timeout)
@ -105,6 +106,7 @@ __exit:
return result; return result;
} }
RTM_EXPORT(rt_completion_wait);
void rt_completion_done(struct rt_completion *completion) 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); rt_hw_interrupt_enable(level);
} }
} }
RTM_EXPORT(rt_completion_done);