diff --git a/drivers/mtd_sdmmc/mtd_sdmmc.c b/drivers/mtd_sdmmc/mtd_sdmmc.c index 624c95f250..ab0881af0d 100644 --- a/drivers/mtd_sdmmc/mtd_sdmmc.c +++ b/drivers/mtd_sdmmc/mtd_sdmmc.c @@ -235,7 +235,7 @@ const mtd_desc_t mtd_sdmmc_driver = { .sdmmc_idx = n, \ }; \ \ - mtd_dev_t CONCAT(*mtd, m) = (mtd_dev_t *)&mtd_sdmmc_dev ##n + XFA_CONST(mtd_dev_xfa, m) mtd_dev_t CONCAT(*mtd, m) = (mtd_dev_t *)&mtd_sdmmc_dev ## n #if IS_USED(MODULE_MTD_SDCARD_DEFAULT) /* we use /sd1 as default mount point for coexistence with mtd_sdcard */