diff --git a/drivers/include/mtd_emulated.h b/drivers/include/mtd_emulated.h index 6e0195e3bc56..d7e71dddfa8b 100644 --- a/drivers/include/mtd_emulated.h +++ b/drivers/include/mtd_emulated.h @@ -57,7 +57,9 @@ extern "C" { .size = sc * pps * ps, \ .memory = _mtd_emulated_memory ## n, \ .init_done = false, \ - } \ + } ; \ + \ + XFA(mtd_dev_xfa, 0) mtd_dev_t CONCAT(*mtd_emulated, n) = (mtd_dev_t *)&mtd_emulated_dev ## n #if MODULE_VFS_AUTO_MOUNT || DOXYGEN /**