aboutsummaryrefslogtreecommitdiff
path: root/nuttx/fs/fat/fs_fat32.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/fat/fs_fat32.h')
-rw-r--r--nuttx/fs/fat/fs_fat32.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/fs/fat/fs_fat32.h b/nuttx/fs/fat/fs_fat32.h
index c7fa5219c..71a21333b 100644
--- a/nuttx/fs/fat/fs_fat32.h
+++ b/nuttx/fs/fat/fs_fat32.h
@@ -697,11 +697,11 @@
****************************************************************************/
#ifdef CONFIG_FAT_DMAMEMORY
-# define fat_io_alloc(s) fat_dma_alloc(s)
-# define fat_io_free(s) fat_dma_free(s)
+# define fat_io_alloc(s) fat_dma_alloc(s)
+# define fat_io_free(m,s) fat_dma_free(m,s)
#else
-# define fat_io_alloc(s) kmalloc(s)
-# define fat_io_free(s) kfree(s)
+# define fat_io_alloc(s) kmalloc(s)
+# define fat_io_free(m,s) kfree(m)
#endif
/****************************************************************************