diff options
Diffstat (limited to 'src/ec/lenovo/h8/h8.c')
-rw-r--r-- | src/ec/lenovo/h8/h8.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c index 58bc3dbb49..1f1655dc40 100644 --- a/src/ec/lenovo/h8/h8.c +++ b/src/ec/lenovo/h8/h8.c @@ -181,10 +181,21 @@ static void h8_init(struct device *dev) pc_keyboard_init(NO_AUX_DEVICE); } +#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES) +static const char *h8_acpi_name(const struct device *dev) +{ + return "EC"; +} +#endif + struct device_operations h8_dev_ops = { #if IS_ENABLED(CONFIG_GENERATE_SMBIOS_TABLES) .get_smbios_strings = h8_smbios_strings, #endif +#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES) + .acpi_fill_ssdt_generator = h8_ssdt_generator, + .acpi_name = h8_acpi_name, +#endif .init = h8_init, }; |