diff options
| author | Tien Fong Chee <[email protected]> | 2018-07-06 16:25:12 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-09-28 20:21:47 -0400 |
| commit | 10c2044062d045e27cbcda739501b96f670fb7f1 (patch) | |
| tree | ad70e9979e585a401a640a9743032717954d756b /include/ubi_uboot.h | |
| parent | bbef20d479441b01d62252cf127498c58078b2c3 (diff) | |
cmd: ubifs: Move ubifs_initialized checking into cmd_ubifs_umount()
cmd_ubifs_umount() function would be called directly instead of involving
whole command machinery in generic firmware loader, so checking on
ubifs_initialized status need to be done in cmd_ubifs_umount() without
breaking original functionality design.
Signed-off-by: Tien Fong Chee <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
[trini: Fix conflicting type error in cmd/ubi.c]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/ubi_uboot.h')
| -rw-r--r-- | include/ubi_uboot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ubi_uboot.h b/include/ubi_uboot.h index 80acbcb1486..827dbfcd103 100644 --- a/include/ubi_uboot.h +++ b/include/ubi_uboot.h @@ -75,5 +75,6 @@ extern int ubi_volume_write(char *volume, void *buf, size_t size); extern int ubi_volume_read(char *volume, char *buf, size_t size); extern struct ubi_device *ubi_devices[]; +int cmd_ubifs_umount(void); #endif |
