aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/pcf8523
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/pcf8523')
-rw-r--r--src/drivers/i2c/pcf8523/pcf8523.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/pcf8523/pcf8523.c b/src/drivers/i2c/pcf8523/pcf8523.c
index 82945ffe2b..03b6b2269e 100644
--- a/src/drivers/i2c/pcf8523/pcf8523.c
+++ b/src/drivers/i2c/pcf8523/pcf8523.c
@@ -118,8 +118,8 @@ static void pcf8523_init(struct device *dev)
}
static struct device_operations pcf8523c_ops = {
- .read_resources = DEVICE_NOOP,
- .set_resources = DEVICE_NOOP,
+ .read_resources = noop_read_resources,
+ .set_resources = noop_set_resources,
.init = pcf8523_init,
.final = pcf8523_final
};