This file has many "Linux" style types in it, add <linux/types.h>
Signed-off-by: Tom Rini <tr...@konsulko.com> --- include/eeprom.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/eeprom.h b/include/eeprom.h index f9c6542ba762..e223e4c76707 100644 --- a/include/eeprom.h +++ b/include/eeprom.h @@ -8,6 +8,8 @@ #define __EEPROM_LEGACY_H #if defined(CONFIG_CMD_EEPROM) || defined(CONFIG_ENV_IS_IN_EEPROM) +#include <linux/types.h> + void eeprom_init(int bus); int eeprom_read(uint dev_addr, uint offset, uchar *buffer, uint cnt); int eeprom_write(uint dev_addr, uint offset, uchar *buffer, uint cnt); -- 2.34.1