aboutsummaryrefslogtreecommitdiff
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 de43eb9ba5..0cb28bba65 100644
--- a/src/drivers/i2c/hid/hid.c
+++ b/src/drivers/i2c/hid/hid.c
@@ -10,7 +10,7 @@
#include <console/console.h>
#if CONFIG(HAVE_ACPI_TABLES)
-static void i2c_hid_fill_dsm(struct device *dev)
+static void i2c_hid_fill_dsm(const struct device *dev)
{
struct drivers_i2c_hid_config *config = dev->chip_info;
struct dsm_i2c_hid_config dsm_config = {