summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/rt5663/rt5663.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/rt5663/rt5663.c')
-rw-r--r--src/drivers/i2c/rt5663/rt5663.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/rt5663/rt5663.c b/src/drivers/i2c/rt5663/rt5663.c
index e8734dc8c2..16237d6203 100644
--- a/src/drivers/i2c/rt5663/rt5663.c
+++ b/src/drivers/i2c/rt5663/rt5663.c
@@ -82,7 +82,7 @@ static void rt5663_fill_ssdt(struct device *dev)
dev->chip_ops->name, dev->path.i2c.device);
}
-static const char *rt5663_acpi_name(struct device *dev)
+static const char *rt5663_acpi_name(const struct device *dev)
{
return RT5663_ACPI_NAME;
}