mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-03 18:10:13 +00:00
e2e69291ee
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> |
||
---|---|---|
.. | ||
ab8500.h | ||
acpi_pmc.h | ||
act8846_pmic.h | ||
as3722.h | ||
battery.h | ||
bd71837.h | ||
da9063_pmic.h | ||
fan53555.h | ||
hi6553_pmic.h | ||
lp873x.h | ||
lp87565.h | ||
ltc3676_pmic.h | ||
max8997_muic.h | ||
max8997_pmic.h | ||
max8998_pmic.h | ||
max17042_fg.h | ||
max77663.h | ||
max77686_pmic.h | ||
max77693_fg.h | ||
max77693_muic.h | ||
max77693_pmic.h | ||
mc34vr500_pmic.h | ||
mp5416.h | ||
palmas.h | ||
pca9450.h | ||
pfuze100_pmic.h | ||
pfuze3000_pmic.h | ||
pmic.h | ||
power_chrg.h | ||
regulator.h | ||
rk8xx_pmic.h | ||
rn5t567_pmic.h | ||
s2mps11.h | ||
s5m8767.h | ||
sandbox_pmic.h | ||
stpmic1.h | ||
tps62362.h | ||
tps65090.h | ||
tps65217.h | ||
tps65218.h | ||
tps65219.h | ||
tps65910.h | ||
tps65910_pmic.h | ||
tps65941.h | ||
tps80031.h |