diff --git a/support/platform/include/mmc/mmc_protocol.h b/support/platform/include/mmc/mmc_protocol.h index 96567b27..7bab66d5 100644 --- a/support/platform/include/mmc/mmc_protocol.h +++ b/support/platform/include/mmc/mmc_protocol.h @@ -328,15 +328,15 @@ enum MmcCsdSpecVersion { }; enum MmcCsdCardCmdClass { - MMC_CSD_CCC_BASIC = (1<<0), - MMC_CSD_CCC_BLOCK_READ = (1<<2), - MMC_CSD_CCC_BLOCK_WRITE = (1<<4), - MMC_CSD_CCC_ERASE = (1<<5), - MMC_CSD_CCC_WRITE_PROT = (1<<6), - MMC_CSD_CCC_LOCK_CARD = (1<<7), - MMC_CSD_CCC_APP_SPEC = (1<<8), - MMC_CSD_CCC_IO_MODE = (1<<9), - MMC_CSD_CCC_SWITCH = (1<<10), + MMC_CSD_CCC_BASIC = (1 << 0), + MMC_CSD_CCC_BLOCK_READ = (1 << 2), + MMC_CSD_CCC_BLOCK_WRITE = (1 << 4), + MMC_CSD_CCC_ERASE = (1 << 5), + MMC_CSD_CCC_WRITE_PROT = (1 << 6), + MMC_CSD_CCC_LOCK_CARD = (1 << 7), + MMC_CSD_CCC_APP_SPEC = (1 << 8), + MMC_CSD_CCC_IO_MODE = (1 << 9), + MMC_CSD_CCC_SWITCH = (1 << 10), }; enum MmcBusMode { diff --git a/support/platform/src/common/platform_device.c b/support/platform/src/common/platform_device.c index 91d5a0a9..0e70cddf 100644 --- a/support/platform/src/common/platform_device.c +++ b/support/platform/src/common/platform_device.c @@ -167,7 +167,6 @@ static void PlatformDeviceRemoveNotifier(struct PlatformDevice *device, struct P (void)OsalSpinUnlock(&device->spin); } - void PlatformDeviceUnregNotifier(struct PlatformDevice *device, struct PlatformNotifier *notifier) { if (device == NULL || notifier == NULL) {