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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c
index 32b984a85f..0466a6fe31 100644
--- a/src/drivers/i2c/generic/generic.c
+++ b/src/drivers/i2c/generic/generic.c
@@ -180,8 +180,8 @@ static const char *i2c_generic_acpi_name(const struct device *dev)
#endif
static struct device_operations i2c_generic_ops = {
- .read_resources = DEVICE_NOOP,
- .set_resources = DEVICE_NOOP,
+ .read_resources = noop_read_resources,
+ .set_resources = noop_set_resources,
#if CONFIG(HAVE_ACPI_TABLES)
.acpi_name = i2c_generic_acpi_name,
.acpi_fill_ssdt = i2c_generic_fill_ssdt_generator,