summaryrefslogtreecommitdiffstats
path: root/nuttx/fs/fs_unregisterblockdriver.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2007-05-26 19:22:34 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2007-05-26 19:22:34 +0000
commit587cdd45a11652674bbc41147ba8d13215a1dad8 (patch)
tree1deba65ce2f157d8f25da5498676e306742887e8 /nuttx/fs/fs_unregisterblockdriver.c
parentfa9916cac27b36547c6b3b02a368a6a390256fbb (diff)
Finish FAT directory operations; add option to disable mountpoints; fix ARM compile errors
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@252 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/fs/fs_unregisterblockdriver.c')
-rw-r--r--nuttx/fs/fs_unregisterblockdriver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/fs/fs_unregisterblockdriver.c b/nuttx/fs/fs_unregisterblockdriver.c
index 98786b534a..cae8d931cc 100644
--- a/nuttx/fs/fs_unregisterblockdriver.c
+++ b/nuttx/fs/fs_unregisterblockdriver.c
@@ -44,6 +44,7 @@
#include "fs_internal.h"
#if CONFIG_NFILE_DESCRIPTORS > 0
+#ifndef CONFIG_DISABLE_MOUNTPOUNT
/****************************************************************************
* Definitions
@@ -82,4 +83,5 @@ STATUS unregister_blockdriver(const char *path)
return ret;
}
+#endif /* CONFIG_DISABLE_MOUNTPOUNT */
#endif