]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: fs_loader: Fix compile warnings when CONFIG_CMD_UBIFS is enabled
authorPali Rohár <pali@kernel.org>
Fri, 29 Apr 2022 14:36:23 +0000 (16:36 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 5 May 2022 23:37:11 +0000 (19:37 -0400)
commitaa5ea20c71921e062aa91d5c7f924cef5d742ec2
tree3ea6ba397b9ce3db7286537be078944c6daa23b8
parent0be4b0b6516c82f53bb3e8546ea8f213cf2fe2ac
misc: fs_loader: Fix compile warnings when CONFIG_CMD_UBIFS is enabled

drivers/misc/fs_loader.c: In function ‘mount_ubifs’:
drivers/misc/fs_loader.c:46:12: warning: implicit declaration of function ‘ubi_part’ [-Wimplicit-function-declaration]
  int ret = ubi_part(mtdpart, NULL);
            ^~~~~~~~
drivers/misc/fs_loader.c:53:9: warning: implicit declaration of function ‘cmd_ubifs_mount’ [-Wimplicit-function-declaration]
  return cmd_ubifs_mount(ubivol);
         ^~~~~~~~~~~~~~~
drivers/misc/fs_loader.c: In function ‘umount_ubifs’:
drivers/misc/fs_loader.c:58:9: warning: implicit declaration of function ‘cmd_ubifs_umount’ [-Wimplicit-function-declaration]
  return cmd_ubifs_umount();
         ^~~~~~~~~~~~~~~~

Signed-off-by: Pali Rohár <pali@kernel.org>
drivers/misc/fs_loader.c