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:
Masahiro Yamada 2017-06-22 16:51:22 +09:00 committed by Heiko Schocher
parent 7df4ff2c26
commit 5e75ea1506

View file

@ -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;
}