aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/max98927/max98927.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/max98927/max98927.c')
-rw-r--r--src/drivers/i2c/max98927/max98927.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/max98927/max98927.c b/src/drivers/i2c/max98927/max98927.c
index e9fc00d433..50b3e0c034 100644
--- a/src/drivers/i2c/max98927/max98927.c
+++ b/src/drivers/i2c/max98927/max98927.c
@@ -73,7 +73,7 @@ static void max98927_fill_ssdt(struct device *dev)
dev->chip_ops->name, dev->path.i2c.device);
}
-static const char *max98927_acpi_name(struct device *dev)
+static const char *max98927_acpi_name(const struct device *dev)
{
struct drivers_i2c_max98927_config *config = dev->chip_info;