summaryrefslogtreecommitdiff
path: root/src/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/designware/dw_i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/designware/dw_i2c.h b/src/drivers/i2c/designware/dw_i2c.h
index 220d2afc74..e309bc12a2 100644
--- a/src/drivers/i2c/designware/dw_i2c.h
+++ b/src/drivers/i2c/designware/dw_i2c.h
@@ -129,7 +129,7 @@ int dw_i2c_transfer(unsigned int bus,
* -1 = failure
* >=0 = logical bus number
*/
-int dw_i2c_soc_dev_to_bus(struct device *dev);
+int dw_i2c_soc_dev_to_bus(const struct device *dev);
/*
* Common device_operations implementation to initialize the i2c host