diff options
Diffstat (limited to 'src/drivers/i2c/generic/chip.h')
-rw-r--r-- | src/drivers/i2c/generic/chip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/generic/chip.h b/src/drivers/i2c/generic/chip.h index ae7c0b42ae..b167b71bed 100644 --- a/src/drivers/i2c/generic/chip.h +++ b/src/drivers/i2c/generic/chip.h @@ -77,7 +77,7 @@ struct drivers_i2c_generic_config { * config: Pointer to drivers_i2c_generic_config structure */ void i2c_generic_fill_ssdt(struct device *dev, - void (*callback)(struct device *dev), + void (*callback)(const struct device *dev), struct drivers_i2c_generic_config *config); #endif /* __I2C_GENERIC_CHIP_H__ */ |