summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-02-10 16:28:02 +0000
committerDamien George <damien.p.george@gmail.com>2016-02-10 23:40:10 +0000
commit0e0ce47e65f4c1c57c9d23ba86d731b71d90346c (patch)
treeabd1aa999bce6be64344cdfb241bd9c86044fb18
parent3770cd2e7062d0844cee7b69ec9d9f80a2ad1206 (diff)
extmod/fsusermount: Expose umount as a public function.
-rw-r--r--extmod/fsusermount.h1
-rw-r--r--py/qstrdefs.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/extmod/fsusermount.h b/extmod/fsusermount.h
index 53442a368..0fa353b7e 100644
--- a/extmod/fsusermount.h
+++ b/extmod/fsusermount.h
@@ -42,4 +42,5 @@ typedef struct _fs_user_mount_t {
} fs_user_mount_t;
MP_DECLARE_CONST_FUN_OBJ(fsuser_mount_obj);
+MP_DECLARE_CONST_FUN_OBJ(fsuser_umount_obj);
MP_DECLARE_CONST_FUN_OBJ(fsuser_mkfs_obj);
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 0a2cc2c8e..9115c8f6f 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -671,6 +671,7 @@ Q(status)
#if MICROPY_FSUSERMOUNT
// for user-mountable block devices
Q(mount)
+Q(umount)
Q(readonly)
Q(mkfs)
Q(readblocks)