[PATCH 003/149] eeprom.h: Add missing <linux/types.h>
Tom Rini
trini at konsulko.com
Wed May 1 04:40:50 CEST 2024
This file has many "Linux" style types in it, add <linux/types.h>
Signed-off-by: Tom Rini <trini at 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
More information about the U-Boot
mailing list