Skip to content

Commit b73ad3c

Browse files
authored
Merge pull request #4908 from mysterywolf/mmcsd
[sdio] remove rt_mmcsd_blk_init
2 parents 2fde70e + 84db60e commit b73ad3c

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

components/drivers/include/drivers/mmcsd_core.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ struct rt_mmcsd_host *mmcsd_alloc_host(void);
234234
void mmcsd_free_host(struct rt_mmcsd_host *host);
235235
int rt_mmcsd_core_init(void);
236236

237-
int rt_mmcsd_blk_init(void);
238237
rt_int32_t rt_mmcsd_blk_probe(struct rt_mmcsd_card *card);
239238
void rt_mmcsd_blk_remove(struct rt_mmcsd_card *card);
240239

components/drivers/sdio/block_dev.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -515,15 +515,3 @@ void rt_mmcsd_blk_remove(struct rt_mmcsd_card *card)
515515
}
516516
}
517517
}
518-
519-
/*
520-
* This function will initialize block device on the mmc/sd.
521-
*
522-
* @deprecated since 2.1.0, this function does not need to be invoked
523-
* in the system initialization.
524-
*/
525-
int rt_mmcsd_blk_init(void)
526-
{
527-
/* nothing */
528-
return 0;
529-
}

0 commit comments

Comments
 (0)