mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-26 22:01:10 +00:00
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>
This commit is contained in:
parent
0fc85aa34d
commit
9ef78205bb
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user