From 9ef78205bbd84dd7045974b7717a472fdc9be69c Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@konsulko.com>
Date: Tue, 30 Apr 2024 20:40:50 -0600
Subject: [PATCH] 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>
---
 include/eeprom.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/eeprom.h b/include/eeprom.h
index f9c6542ba7..e223e4c767 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.39.5