summaryrefslogtreecommitdiff
path: root/components/drivers/sdio/block_dev.c
diff options
context:
space:
mode:
authorweety <[email protected]>2017-11-05 21:41:43 +0800
committerweety <[email protected]>2017-11-05 21:41:43 +0800
commite4dd86a1b73feaa67334bdd0a9590d8273679feb (patch)
tree0f9a6ac8bfb298b34447ae825f3f13e387b4025c /components/drivers/sdio/block_dev.c
parent9bd094197e8dcc04a72db283cf46cd71bab2fede (diff)
[DRIVER][SDIO] Add components initializer.
Diffstat (limited to 'components/drivers/sdio/block_dev.c')
-rw-r--r--components/drivers/sdio/block_dev.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/components/drivers/sdio/block_dev.c b/components/drivers/sdio/block_dev.c
index c986556879..c42c485eaf 100644
--- a/components/drivers/sdio/block_dev.c
+++ b/components/drivers/sdio/block_dev.c
@@ -479,8 +479,11 @@ void rt_mmcsd_blk_remove(struct rt_mmcsd_card *card)
* @deprecated since 2.1.0, this function does not need to be invoked
* in the system initialization.
*/
-void rt_mmcsd_blk_init(void)
+int rt_mmcsd_blk_init(void)
{
- /* nothing */
+ /* nothing */
+ return 0;
}
+INIT_PREV_EXPORT(rt_mmcsd_blk_init);
+