summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/hid/hid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/hid/hid.c')
-rw-r--r--src/drivers/i2c/hid/hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/hid/hid.c b/src/drivers/i2c/hid/hid.c
index 0cb28bba65..4fac85874d 100644
--- a/src/drivers/i2c/hid/hid.c
+++ b/src/drivers/i2c/hid/hid.c
@@ -20,7 +20,7 @@ static void i2c_hid_fill_dsm(const struct device *dev)
acpigen_write_dsm_i2c_hid(&dsm_config);
}
-static void i2c_hid_fill_ssdt_generator(struct device *dev)
+static void i2c_hid_fill_ssdt_generator(const struct device *dev)
{
struct drivers_i2c_hid_config *config = dev->chip_info;
config->generic.cid = I2C_HID_CID;