summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/i2cmux2
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/i2cmux2')
-rw-r--r--src/drivers/i2c/i2cmux2/i2cmux2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/i2cmux2/i2cmux2.c b/src/drivers/i2c/i2cmux2/i2cmux2.c
index a7d40e2176..6b05508a1b 100644
--- a/src/drivers/i2c/i2cmux2/i2cmux2.c
+++ b/src/drivers/i2c/i2cmux2/i2cmux2.c
@@ -6,7 +6,7 @@
#include <device/pci_ops.h>
#include <cpu/x86/msr.h>
-static void i2cmux2_set_link(device_t dev, unsigned int link)
+static void i2cmux2_set_link(struct device *dev, unsigned int link)
{
if (dev->enabled && dev->path.type == DEVICE_PATH_I2C) {
if (ops_smbus_bus(get_pbus_smbus(dev))) {
@@ -15,7 +15,7 @@ static void i2cmux2_set_link(device_t dev, unsigned int link)
}
}
-static void i2cmux2_noop(device_t dummy)
+static void i2cmux2_noop(struct device *dummy)
{
}