summaryrefslogtreecommitdiff
path: root/nuttx/fs/fat/fs_fat32.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-11 18:22:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-11 18:22:27 +0000
commit205242a575697630d073edc02a6341e6d9be22a6 (patch)
tree55bdc1b853ebf75814934f703ed60373b1e2e0e1 /nuttx/fs/fat/fs_fat32.h
parent88da8a5b4f042532c0b980510b0d90b77158eff4 (diff)
downloadpx4-nuttx-205242a575697630d073edc02a6341e6d9be22a6.tar.gz
px4-nuttx-205242a575697630d073edc02a6341e6d9be22a6.tar.bz2
px4-nuttx-205242a575697630d073edc02a6341e6d9be22a6.zip
Add beginning of a simple granule allocator to support DMA IO buffer allocation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5129 42af7a65-404d-4744-a932-0658087f49c3
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
/****************************************************************************