summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/nau8825
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/nau8825')
-rw-r--r--src/drivers/i2c/nau8825/nau8825.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/nau8825/nau8825.c b/src/drivers/i2c/nau8825/nau8825.c
index 42dd8478e6..3cf5edd656 100644
--- a/src/drivers/i2c/nau8825/nau8825.c
+++ b/src/drivers/i2c/nau8825/nau8825.c
@@ -92,7 +92,7 @@ static void nau8825_fill_ssdt(struct device *dev)
dev->path.i2c.device, config->irq.pin);
}
-static const char *nau8825_acpi_name(struct device *dev)
+static const char *nau8825_acpi_name(const struct device *dev)
{
return NAU8825_ACPI_NAME;
}