From 0e0ce47e65f4c1c57c9d23ba86d731b71d90346c Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Wed, 10 Feb 2016 16:28:02 +0000
Subject: [PATCH] extmod/fsusermount: Expose umount as a public function.

---
 extmod/fsusermount.h | 1 +
 py/qstrdefs.h        | 1 +
 2 files changed, 2 insertions(+)

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)
-- 
GitLab