summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-08-01 00:11:37 +0800
committerMeco Man <[email protected]>2021-08-01 07:31:32 +0800
commit84db60ecfa18956840245cedc140fdec1a20e56c (patch)
tree2c979cb99c2f5aec74ccc9070bc3cebf7722eea2 /components/drivers
parent2967da3cdf8ac33412ad03b9de95f1094e480942 (diff)
[sdio] remove rt_mmcsd_blk_init
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/include/drivers/mmcsd_core.h1
-rw-r--r--components/drivers/sdio/block_dev.c12
2 files changed, 0 insertions, 13 deletions
diff --git a/components/drivers/include/drivers/mmcsd_core.h b/components/drivers/include/drivers/mmcsd_core.h
index 11b1386b23..51263d35f2 100644
--- a/components/drivers/include/drivers/mmcsd_core.h
+++ b/components/drivers/include/drivers/mmcsd_core.h
@@ -234,7 +234,6 @@ struct rt_mmcsd_host *mmcsd_alloc_host(void);
void mmcsd_free_host(struct rt_mmcsd_host *host);
int rt_mmcsd_core_init(void);
-int rt_mmcsd_blk_init(void);
rt_int32_t rt_mmcsd_blk_probe(struct rt_mmcsd_card *card);
void rt_mmcsd_blk_remove(struct rt_mmcsd_card *card);
diff --git a/components/drivers/sdio/block_dev.c b/components/drivers/sdio/block_dev.c
index f2ce09a83f..2acbc44fa3 100644
--- a/components/drivers/sdio/block_dev.c
+++ b/components/drivers/sdio/block_dev.c
@@ -515,15 +515,3 @@ void rt_mmcsd_blk_remove(struct rt_mmcsd_card *card)
}
}
}
-
-/*
- * This function will initialize block device on the mmc/sd.
- *
- * @deprecated since 2.1.0, this function does not need to be invoked
- * in the system initialization.
- */
-int rt_mmcsd_blk_init(void)
-{
- /* nothing */
- return 0;
-}