mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
i2c_eeprom: add static to i2c_eeprom_std_ops/probe
These are only used in drivers/mis/i2c_eeprom.c Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
7df4ff2c26
commit
5e75ea1506
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ static int i2c_eeprom_std_write(struct udevice *dev, int offset,
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
struct i2c_eeprom_ops i2c_eeprom_std_ops = {
|
||||
static const struct i2c_eeprom_ops i2c_eeprom_std_ops = {
|
||||
.read = i2c_eeprom_std_read,
|
||||
.write = i2c_eeprom_std_write,
|
||||
};
|
||||
|
@ -59,7 +59,7 @@ static int i2c_eeprom_std_ofdata_to_platdata(struct udevice *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int i2c_eeprom_std_probe(struct udevice *dev)
|
||||
static int i2c_eeprom_std_probe(struct udevice *dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue