summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/gpiomux
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/gpiomux')
-rw-r--r--src/drivers/i2c/gpiomux/bus/bus.c2
-rw-r--r--src/drivers/i2c/gpiomux/mux/mux.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/gpiomux/bus/bus.c b/src/drivers/i2c/gpiomux/bus/bus.c
index 2bdb103016..a6c603a8f1 100644
--- a/src/drivers/i2c/gpiomux/bus/bus.c
+++ b/src/drivers/i2c/gpiomux/bus/bus.c
@@ -55,6 +55,6 @@ static void i2c_gpiomux_bus_enable(struct device *dev)
}
struct chip_operations drivers_i2c_gpiomux_bus_ops = {
- CHIP_NAME("I2C GPIO MUX Bus Device")
+ .name = "I2C GPIO MUX Bus Device",
.enable_dev = i2c_gpiomux_bus_enable
};
diff --git a/src/drivers/i2c/gpiomux/mux/mux.c b/src/drivers/i2c/gpiomux/mux/mux.c
index fa1b18cde2..5f79fe5758 100644
--- a/src/drivers/i2c/gpiomux/mux/mux.c
+++ b/src/drivers/i2c/gpiomux/mux/mux.c
@@ -77,6 +77,6 @@ static void i2c_gpiomux_mux_enable(struct device *dev)
}
struct chip_operations drivers_i2c_gpiomux_mux_ops = {
- CHIP_NAME("I2C GPIO MUX Device")
+ .name = "I2C GPIO MUX Device",
.enable_dev = i2c_gpiomux_mux_enable
};