summaryrefslogtreecommitdiff
path: root/src/device/i2c_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/i2c_bus.c')
-rw-r--r--src/device/i2c_bus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/device/i2c_bus.c b/src/device/i2c_bus.c
index 1c543efaba..30bb80ca98 100644
--- a/src/device/i2c_bus.c
+++ b/src/device/i2c_bus.c
@@ -44,7 +44,7 @@ struct bus *i2c_link(struct device *const dev)
return link;
}
-int i2c_readb(struct device *const dev)
+int i2c_dev_readb(struct device *const dev)
{
struct device *const busdev = i2c_busdev(dev);
if (!busdev)
@@ -74,7 +74,7 @@ int i2c_readb(struct device *const dev)
}
}
-int i2c_writeb(struct device *const dev, uint8_t val)
+int i2c_dev_writeb(struct device *const dev, uint8_t val)
{
struct device *const busdev = i2c_busdev(dev);
if (!busdev)
@@ -97,7 +97,7 @@ int i2c_writeb(struct device *const dev, uint8_t val)
}
}
-int i2c_readb_at(struct device *const dev, uint8_t off)
+int i2c_dev_readb_at(struct device *const dev, uint8_t off)
{
struct device *const busdev = i2c_busdev(dev);
if (!busdev)
@@ -135,8 +135,8 @@ int i2c_readb_at(struct device *const dev, uint8_t off)
}
}
-int i2c_writeb_at(struct device *const dev,
- const uint8_t off, const uint8_t val)
+int i2c_dev_writeb_at(struct device *const dev,
+ const uint8_t off, const uint8_t val)
{
struct device *const busdev = i2c_busdev(dev);
if (!busdev)