mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 10:24:49 +00:00
![]() These headers follow the pattern: | #if CONFIG_IS_ENABLED(FANCY_FEATURE) | void foo(void); | #else | static inline void foo(void) { return -ENOSYS; } | #endif In the #else path ENOSYS is used, however linux/errno.h is not included. If errno.h has not been included already the compiler errors out even if the inline function is not referenced. Make those headers self contained. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
||
---|---|---|
.. | ||
platform_data | ||
acpi.h | ||
device-internal.h | ||
device.h | ||
device_compat.h | ||
devres.h | ||
fdtaddr.h | ||
lists.h | ||
of.h | ||
of_access.h | ||
of_addr.h | ||
of_extra.h | ||
ofnode.h | ||
ofnode_decl.h | ||
pci.h | ||
pinctrl.h | ||
platdata.h | ||
read.h | ||
root.h | ||
simple_bus.h | ||
tag.h | ||
test.h | ||
uclass-id.h | ||
uclass-internal.h | ||
uclass.h | ||
util.h |