]> git.dujemihanovic.xyz Git - u-boot.git/commit
linux/types.h: Surround 'struct ustat' with __linux__
authorBin Meng <bmeng.cn@gmail.com>
Sun, 27 Oct 2019 12:19:43 +0000 (05:19 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 28 Oct 2019 17:32:51 +0000 (13:32 -0400)
commit10289b4ed9f68bf3cd99d54acd4efdf7a96e281b
tree35277f460388ac973c8c6c6e0f40d462529e4244
parentafd3bf4318b0b3e845b5bc1f6763727229af9179
linux/types.h: Surround 'struct ustat' with __linux__

'struct ustat' uses linux-specific typedefs to declare its memebers:
__kernel_daddr_t and __kernel_ino_t. It is currently not used by any
U-Boot codes, but when we build U-Boot tools for other platform like
Windows, this becomes a problem.

Let's surround it with __linux__.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
include/linux/types.h