summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-05-11 12:33:15 +0800
committerBernard Xiong <[email protected]>2015-05-11 12:33:15 +0800
commit77b5098ae23d9071911878e908cd4f8353f64dcd (patch)
treebd61601a8e99724293b1a6be458be7f30ecd079b /components/drivers
parent7e981e3e260e4dc2cf103fce1fb88cdcd36ec0c3 (diff)
[DeviceDriver] Add more exported symbols for completion.
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/src/completion.c4
1 files changed, 4 insertions, 0 deletions
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);
+