From 9da0cc5bfd2f3c4832c604b371c96427fa89c15d Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Sun, 1 Oct 2023 18:01:09 +0200 Subject: [PATCH] drivers/mtd_sdmmc: use XFA with MTD pointers --- drivers/mtd_sdmmc/mtd_sdmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */