summaryrefslogtreecommitdiff
path: root/src/superio/common/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/common/generic.c')
-rw-r--r--src/superio/common/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/common/generic.c b/src/superio/common/generic.c
index 88432ff68d..cffe0c3476 100644
--- a/src/superio/common/generic.c
+++ b/src/superio/common/generic.c
@@ -31,7 +31,7 @@ static void generic_read_resources(struct device *dev)
}
#if CONFIG(HAVE_ACPI_TABLES)
-static void generic_ssdt(struct device *dev)
+static void generic_ssdt(const struct device *dev)
{
const char *scope = acpi_device_scope(dev);
const char *name = acpi_device_name(dev);