aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini2017-06-26 15:48:05 -0400
committerTom Rini2017-06-26 15:48:05 -0400
commitb8a238f1376f16c387765107b9d7f62e4358dd48 (patch)
tree2e2d5e470c97630d3919c743255ed91cf576e07b
parent524b42bc2c6ae0a3d1d73a83de59346e4b3becd7 (diff)
parent5e75ea15067ab8118a16f5b5f278ccae87819683 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-i2c
-rw-r--r--drivers/misc/i2c_eeprom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c
index da6e2b05f73..a14e83225bc 100644
--- a/drivers/misc/i2c_eeprom.c
+++ b/drivers/misc/i2c_eeprom.c
@@ -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;
}