Commit 3b2f0406 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

dev/storage: fix duplicate function name in EEPROM write callback

parent 53352e1f
Pipeline #309 failed with stages
in 9 seconds
...@@ -174,7 +174,7 @@ static int sdb_i2c_eeprom_read(struct storage_device *dev, int offset, void *buf ...@@ -174,7 +174,7 @@ static int sdb_i2c_eeprom_read(struct storage_device *dev, int offset, void *buf
static int sdb_i2c_eeprom_write(struct storage_device *dev, int offset, void *buf, int count) static int sdb_i2c_eeprom_write(struct storage_device *dev, int offset, void *buf, int count)
{ {
struct storage_i2c_eeprom_priv *priv = (struct storage_i2c_eeprom_priv* ) dev->priv; struct storage_i2c_eeprom_priv *priv = (struct storage_i2c_eeprom_priv* ) dev->priv;
return i2c_eeprom_read(priv, offset, buf, count); return i2c_eeprom_write(priv, offset, buf, count);
} }
static int sdb_i2c_eeprom_erase(struct storage_device *dev, int offset, int count) static int sdb_i2c_eeprom_erase(struct storage_device *dev, int offset, int count)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment