summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/generic
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/generic')
-rw-r--r--src/drivers/i2c/generic/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c
index 1a3ec40c7a..2a4acb242f 100644
--- a/src/drivers/i2c/generic/generic.c
+++ b/src/drivers/i2c/generic/generic.c
@@ -229,6 +229,6 @@ static void i2c_generic_enable(struct device *dev)
}
struct chip_operations drivers_i2c_generic_ops = {
- CHIP_NAME("I2C Device")
+ .name = "I2C Device",
.enable_dev = i2c_generic_enable
};