summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/hid
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/hid')
-rw-r--r--src/drivers/i2c/hid/hid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/i2c/hid/hid.c b/src/drivers/i2c/hid/hid.c
index bccce75a5d..952e3e49f0 100644
--- a/src/drivers/i2c/hid/hid.c
+++ b/src/drivers/i2c/hid/hid.c
@@ -51,8 +51,8 @@ static struct device_operations i2c_hid_ops = {
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
- .acpi_name = &i2c_hid_acpi_name,
- .acpi_fill_ssdt_generator = &i2c_hid_fill_ssdt_generator,
+ .acpi_name = i2c_hid_acpi_name,
+ .acpi_fill_ssdt_generator = i2c_hid_fill_ssdt_generator,
#endif
};
@@ -69,5 +69,5 @@ static void i2c_hid_enable(struct device *dev)
struct chip_operations drivers_i2c_hid_ops = {
CHIP_NAME("I2C HID Device")
- .enable_dev = &i2c_hid_enable
+ .enable_dev = i2c_hid_enable
};