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:
parent
e8df93af91
commit
f0be9e3472
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue