summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-04-30 20:40:50 -0600
committerTom Rini <trini@konsulko.com>2024-05-06 15:07:48 -0600
commit9ef78205bbd84dd7045974b7717a472fdc9be69c (patch)
tree8ec3d8de3ace67ac8389ccd9de0dd6b6408da605
parent0fc85aa34df41a3a27e8e854cc725796129afdd4 (diff)
eeprom.h: Add missing <linux/types.h>
This file has many "Linux" style types in it, add <linux/types.h> Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/eeprom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/eeprom.h b/include/eeprom.h
index f9c6542ba76..e223e4c7670 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);