device/path: rename domain path struct element to 'domain_id'
Rename the 'domain' element of the 'domain_path' struct to 'domain_id' to clarify that this element is the domain ID. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Suggested-by: Martin Roth <gaumless@gmail.com> Change-Id: I3995deb83a669699434f0073aed0e12b688bf6e7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83677 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Shuo Liu <shuo.liu@intel.com>
This commit is contained in:
parent
32c38ca221
commit
ad8d0eff74
6 changed files with 9 additions and 9 deletions
|
|
@ -30,7 +30,7 @@ static inline void init_xeon_domain_path(struct device_path *path, int socket,
|
|||
.bus = bus,
|
||||
};
|
||||
path->type = DEVICE_PATH_DOMAIN;
|
||||
path->domain.domain = dp.domain_path;
|
||||
path->domain.domain_id = dp.domain_path;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ static struct device *const create_ioat_domain(const union xeon_domain_path dp,
|
|||
struct device_path path = {
|
||||
.type = DEVICE_PATH_DOMAIN,
|
||||
.domain = {
|
||||
.domain = new_path.domain_path,
|
||||
.domain_id = new_path.domain_path,
|
||||
},
|
||||
};
|
||||
struct device *const domain = alloc_find_dev(upstream, &path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue