git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc85aa
)
eeprom.h: Add missing <linux/types.h>
author
Tom Rini
<trini@konsulko.com>
Wed, 1 May 2024 02:40:50 +0000
(20:40 -0600)
committer
Tom Rini
<trini@konsulko.com>
Mon, 6 May 2024 21:07:48 +0000
(15:07 -0600)
This file has many "Linux" style types in it, add <linux/types.h>
Signed-off-by: Tom Rini <trini@konsulko.com>
include/eeprom.h
patch
|
blob
|
history
diff --git
a/include/eeprom.h
b/include/eeprom.h
index
f9c6542
..
e223e4c
100644
(file)
--- 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);