aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/max98927/max98927.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/max98927/max98927.c')
-rw-r--r--src/drivers/i2c/max98927/max98927.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/max98927/max98927.c b/src/drivers/i2c/max98927/max98927.c
index 0cb80ae88a..ddd9d152b0 100644
--- a/src/drivers/i2c/max98927/max98927.c
+++ b/src/drivers/i2c/max98927/max98927.c
@@ -14,7 +14,7 @@
#define MAX98927_ACPI_NAME "MAXI"
#define MAX98927_ACPI_HID "MX98927"
-static void max98927_fill_ssdt(struct device *dev)
+static void max98927_fill_ssdt(const struct device *dev)
{
struct drivers_i2c_max98927_config *config = dev->chip_info;
const char *scope = acpi_device_scope(dev);