summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/rt1011
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/rt1011')
-rw-r--r--src/drivers/i2c/rt1011/rt1011.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/rt1011/rt1011.c b/src/drivers/i2c/rt1011/rt1011.c
index 68681ef846..ec018cc38f 100644
--- a/src/drivers/i2c/rt1011/rt1011.c
+++ b/src/drivers/i2c/rt1011/rt1011.c
@@ -16,7 +16,7 @@
#define RT1011_DP_INT(key, val) acpi_dp_add_integer(dp, "realtek," key, (val))
-static void rt1011_fill_ssdt(struct device *dev)
+static void rt1011_fill_ssdt(const struct device *dev)
{
struct drivers_i2c_rt1011_config *config = dev->chip_info;
const char *scope = acpi_device_scope(dev);