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 9eb56c25ef..71d70d0cf6 100644
--- a/src/drivers/i2c/hid/hid.c
+++ b/src/drivers/i2c/hid/hid.c
@@ -37,7 +37,7 @@ static void i2c_hid_fill_ssdt_generator(struct device *dev)
i2c_generic_fill_ssdt(dev, &i2c_hid_fill_dsm, &config->generic);
}
-static const char *i2c_hid_acpi_name(struct device *dev)
+static const char *i2c_hid_acpi_name(const struct device *dev)
{
static char name[5];
snprintf(name, sizeof(name), "H%03.3X", dev->path.i2c.device);