summaryrefslogtreecommitdiff
path: root/src/drivers/generic/max98357a
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/generic/max98357a')
-rw-r--r--src/drivers/generic/max98357a/max98357a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/generic/max98357a/max98357a.c b/src/drivers/generic/max98357a/max98357a.c
index 4a057b51d5..71ab1b9bd6 100644
--- a/src/drivers/generic/max98357a/max98357a.c
+++ b/src/drivers/generic/max98357a/max98357a.c
@@ -66,7 +66,7 @@ static void max98357a_fill_ssdt(struct device *dev)
printk(BIOS_INFO, "%s: %s\n", path, dev->chip_ops->name);
}
-static const char *max98357a_acpi_name(struct device *dev)
+static const char *max98357a_acpi_name(const struct device *dev)
{
return MAX98357A_ACPI_NAME;
}