summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-06-26 19:48:05 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-26 19:48:05 (GMT)
commitb8a238f1376f16c387765107b9d7f62e4358dd48 (patch)
tree2e2d5e470c97630d3919c743255ed91cf576e07b /drivers
parent524b42bc2c6ae0a3d1d73a83de59346e4b3becd7 (diff)
parent5e75ea15067ab8118a16f5b5f278ccae87819683 (diff)
downloadu-boot-b8a238f1376f16c387765107b9d7f62e4358dd48.tar.xz
Merge branch 'master' of git://git.denx.de/u-boot-i2c
Diffstat (limited to 'drivers')
-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 da6e2b0..a14e832 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;
}