aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src')
-rw-r--r--os/hal/src/mmc_spi.c9
-rw-r--r--os/hal/src/sdc.c2
2 files changed, 2 insertions, 9 deletions
diff --git a/os/hal/src/mmc_spi.c b/os/hal/src/mmc_spi.c
index a6dda0dc1..cb045bcb4 100644
--- a/os/hal/src/mmc_spi.c
+++ b/os/hal/src/mmc_spi.c
@@ -57,7 +57,7 @@ bool_t mmc_write(void *instance, uint32_t startblk,
/**
* @brief Virtual methods table.
*/
-static const struct MMCSDBlockDeviceVMT mmc_vmt = {
+static const struct MMCDriverVMT mmc_vmt = {
(bool_t (*)(void *))mmc_lld_is_card_inserted,
(bool_t (*)(void *))mmc_lld_is_write_protected,
(bool_t (*)(void *))mmcConnect,
@@ -406,13 +406,6 @@ void mmcInit(void) {
* @brief Initializes an instance.
*
* @param[out] mmcp pointer to the @p MMCDriver object
- * @param[in] spip pointer to the SPI driver to be used as interface
- * @param[in] lscfg low speed configuration for the SPI driver
- * @param[in] hscfg high speed configuration for the SPI driver
- * @param[in] is_protected function that returns the card write protection
- * setting
- * @param[in] is_inserted function that returns the card insertion sensor
- * status
*
* @init
*/
diff --git a/os/hal/src/sdc.c b/os/hal/src/sdc.c
index dd0170b4f..728f05566 100644
--- a/os/hal/src/sdc.c
+++ b/os/hal/src/sdc.c
@@ -46,7 +46,7 @@
/**
* @brief Virtual methods table.
*/
-static const struct MMCSDBlockDeviceVMT sdc_vmt = {
+static const struct SDCDriverVMT sdc_vmt = {
(bool_t (*)(void *))sdc_lld_is_card_inserted,
(bool_t (*)(void *))sdc_lld_is_write_protected,
(bool_t (*)(void *))sdcConnect,