]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/squashfs: Fix compilation error
authorPali Rohár <pali@kernel.org>
Wed, 3 Mar 2021 09:52:36 +0000 (10:52 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 4 Mar 2021 19:40:52 +0000 (14:40 -0500)
commit612a201d38b5a443665648057941d8c91c069816
tree8cf577c760d1df445c3064ce9fe9f4be76d5b603
parent2b82b1d26ae44ac2f43d8a87f482fe906ba863fb
fs/squashfs: Fix compilation error

Commit 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 ("common: Drop
asm/global_data.h from common header") broke compilation of squashfs
filesystem when CONFIG_CMD_SQUASHFS=y is enabled.

Compilation is failing on error:

    aarch64-linux-gnu-ld.bfd: u-boot/fs/squashfs/sqfs_inode.c:121: undefined reference to `le32_to_cpu'

Fixes: 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 ("common: Drop asm/global_data.h from common header")
Suggested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
fs/squashfs/sqfs_inode.c