summaryrefslogtreecommitdiff
path: root/src/ec/google
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@gmail.com>2022-04-06 15:37:59 +0900
committerFelix Held <felix-coreboot@felixheld.de>2022-04-07 16:20:59 +0000
commitf0be9e34728070c8965a8a31832660a678881886 (patch)
tree2bdf23e15e2dc7a465657ec6fb9bcdfc1e939e96 /src/ec/google
parente8df93af91e347dae57b83ac7ccf29ba5ee2bab9 (diff)
ec/google/chromeec: Initialize device_path subid
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com> Change-Id: I910998a5555319cf9840493a31df4934054e08ce Reviewed-on: https://review.coreboot.org/c/coreboot/+/63384 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/ec/google')
-rw-r--r--src/ec/google/chromeec/ec_acpi.c1
1 files changed, 1 insertions, 0 deletions
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;