Flush dirty cache on close

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1250 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-11-16 01:57:16 +00:00
parent c08eaaff33
commit f2b7c5e6b4
7 changed files with 70 additions and 137 deletions
+3 -1
View File
@@ -392,7 +392,9 @@ EXTERN int loteardown(const char *devname);
EXTERN int bchdev_register(const char *blkdev, const char *chardev, boolean readonly);
EXTERN int bchdev_unregister(const char *chardev);
/* Low level, direct access: */
/* Low level, direct access. NOTE: low-level access and character driver access
* are incompatible. One and only one access method should be implemented.
*/
EXTERN int bchlib_setup(const char *blkdev, boolean readonly, FAR void **handle);
EXTERN int bchlib_teardown(FAR void *handle);