summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/alps/alps.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/alps/alps.c')
-rw-r--r--src/drivers/i2c/alps/alps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/i2c/alps/alps.c b/src/drivers/i2c/alps/alps.c
index 2686f6c0ca..f0ccd6c44e 100644
--- a/src/drivers/i2c/alps/alps.c
+++ b/src/drivers/i2c/alps/alps.c
@@ -30,7 +30,8 @@ static void i2c_alps_fill_dsm(struct device *dev)
static void i2c_alps_fill_ssdt_generator(struct device *dev)
{
- i2c_generic_fill_ssdt(dev, &i2c_alps_fill_dsm);
+ struct drivers_i2c_alps_config *config = dev->chip_info;
+ i2c_generic_fill_ssdt(dev, &i2c_alps_fill_dsm, &config->generic);
}
static const char *i2c_alps_acpi_name(struct device *dev)