mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 22:41:17 +02: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:
committed by
Heiko Schocher
parent
7df4ff2c26
commit
5e75ea1506
@@ -42,7 +42,7 @@ static int i2c_eeprom_std_write(struct udevice *dev, int offset,
|
|||||||
return -ENODEV;
|
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,
|
.read = i2c_eeprom_std_read,
|
||||||
.write = i2c_eeprom_std_write,
|
.write = i2c_eeprom_std_write,
|
||||||
};
|
};
|
||||||
@@ -59,7 +59,7 @@ static int i2c_eeprom_std_ofdata_to_platdata(struct udevice *dev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int i2c_eeprom_std_probe(struct udevice *dev)
|
static int i2c_eeprom_std_probe(struct udevice *dev)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user