From 2b1173e29246cbc82f45490d0b1b1443d7bf897a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 14 Jun 2012 16:45:57 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4276 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/mmc_spi.c | 9 +-------- os/hal/src/sdc.c | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'os/hal/src') 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, -- cgit v1.2.3