提交 9ca7f9dc 编写于 作者: L luohui2320@gmail.com

fix a bug in SDIO driver

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1989 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 53a51ebf
......@@ -741,6 +741,8 @@ static rt_int32_t sdio_register_card(struct rt_mmcsd_card *card)
rt_kprintf("malloc sdio card failed\n");
return -RT_ENOMEM;
}
sc->card = card;
list_insert_after(&sdio_cards, &sc->list);
if (list_isempty(&sdio_drivers))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册