summaryrefslogtreecommitdiff
path: root/src/device/root_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/root_device.c')
-rw-r--r--src/device/root_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/root_device.c b/src/device/root_device.c
index 9b3fd49598..8e985931fe 100644
--- a/src/device/root_device.c
+++ b/src/device/root_device.c
@@ -136,7 +136,7 @@ static void root_dev_reset(struct bus *bus)
}
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
-static const char *root_dev_acpi_name(struct device *dev)
+static const char *root_dev_acpi_name(const struct device *dev)
{
return "\\_SB";
}