summaryrefslogtreecommitdiff
path: root/components/drivers/sdio/block_dev.c
diff options
context:
space:
mode:
authorweety <[email protected]>2017-10-19 19:14:06 +0800
committerweety <[email protected]>2017-10-19 19:14:06 +0800
commitdd5ac17fc8dc2c9dd166833b31ff08e7d9b316fb (patch)
tree380058c7af650a57aa287b5904d8198c8ae5a245 /components/drivers/sdio/block_dev.c
parent121b72df71485fd2ce8dc8cebc5e71c764bb29c6 (diff)
[bsp][dm365] Using component initial;
[drv][mmcsd] Add component initial.
Diffstat (limited to 'components/drivers/sdio/block_dev.c')
-rw-r--r--components/drivers/sdio/block_dev.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/drivers/sdio/block_dev.c b/components/drivers/sdio/block_dev.c
index 3e142ee6e4..e6998f4fe3 100644
--- a/components/drivers/sdio/block_dev.c
+++ b/components/drivers/sdio/block_dev.c
@@ -479,7 +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 */
+ return 0;
}
+
+INIT_PREV_EXPORT(rt_mmcsd_blk_init);
+