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>
This commit is contained in:
Akihiko Odaki 2022-04-06 15:37:59 +09:00 committed by Felix Held
parent e8df93af91
commit f0be9e3472
1 changed files with 1 additions and 0 deletions

View File

@ -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;