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