summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/i2c/max98390/max98390.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/max98390/max98390.c b/src/drivers/i2c/max98390/max98390.c
index c8d7699d0b..24c500bd2e 100644
--- a/src/drivers/i2c/max98390/max98390.c
+++ b/src/drivers/i2c/max98390/max98390.c
@@ -15,7 +15,7 @@
#define MAX98390_DP_INT(key, val) acpi_dp_add_integer(dp, "maxim," key, (val))
-static void max98390_fill_ssdt(struct device *dev)
+static void max98390_fill_ssdt(const struct device *dev)
{
struct drivers_i2c_max98390_config *config = dev->chip_info;
const char *scope = acpi_device_scope(dev);
@@ -86,7 +86,7 @@ static struct device_operations max98390_ops = {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
.acpi_name = max98390_acpi_name,
- .acpi_fill_ssdt_generator = max98390_fill_ssdt,
+ .acpi_fill_ssdt = max98390_fill_ssdt,
};
static void max98390_enable(struct device *dev)