summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/alps
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/alps')
-rw-r--r--src/drivers/i2c/alps/alps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/alps/alps.c b/src/drivers/i2c/alps/alps.c
index f0ccd6c44e..286237402a 100644
--- a/src/drivers/i2c/alps/alps.c
+++ b/src/drivers/i2c/alps/alps.c
@@ -34,7 +34,7 @@ static void i2c_alps_fill_ssdt_generator(struct device *dev)
i2c_generic_fill_ssdt(dev, &i2c_alps_fill_dsm, &config->generic);
}
-static const char *i2c_alps_acpi_name(struct device *dev)
+static const char *i2c_alps_acpi_name(const struct device *dev)
{
return "ALPS";
}