From f0be9e34728070c8965a8a31832660a678881886 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Wed, 6 Apr 2022 15:37:59 +0900 Subject: [PATCH] ec/google/chromeec: Initialize device_path subid Signed-off-by: Akihiko Odaki Change-Id: I910998a5555319cf9840493a31df4934054e08ce Reviewed-on: https://review.coreboot.org/c/coreboot/+/63384 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/ec/google/chromeec/ec_acpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ec/google/chromeec/ec_acpi.c b/src/ec/google/chromeec/ec_acpi.c index 3d781287ee..7f946264bd 100644 --- a/src/ec/google/chromeec/ec_acpi.c +++ b/src/ec/google/chromeec/ec_acpi.c @@ -270,6 +270,7 @@ void google_chromeec_fill_ssdt_generator(const struct device *dev) /* Set up a minimal EC0 device to pass to the DPTF helpers */ path.type = DEVICE_PATH_GENERIC; path.generic.id = 0; + path.generic.subid = 0; ec = alloc_find_dev(dev->bus, &path); ec->ops = &ec_ops;