mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
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:
+3
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user