summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-11-06 20:11:25 +0800
committerBernard Xiong <[email protected]>2017-11-06 20:11:25 +0800
commit6ccebe19d59bb002bef8ec8fcd201a32be7651c6 (patch)
treeef5b665a7ded64f17f84b9c8178b2abf328db7d5 /components
parentd6c794ae78fcb00fa168df1ccb35a605bcd19761 (diff)
[DeviceDrivers] Fix compiling issue in MMC/SD.
Diffstat (limited to 'components')
-rw-r--r--components/drivers/sdio/mmcsd_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/drivers/sdio/mmcsd_core.c b/components/drivers/sdio/mmcsd_core.c
index 2466ce627d..a93d9329fb 100644
--- a/components/drivers/sdio/mmcsd_core.c
+++ b/components/drivers/sdio/mmcsd_core.c
@@ -749,7 +749,8 @@ int rt_mmcsd_core_init(void)
}
rt_sdio_init();
-}
+ return 0;
+}
INIT_PREV_EXPORT(rt_mmcsd_core_init);