summaryrefslogtreecommitdiff
path: root/src/device/device_const.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-07-29 17:23:41 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-07-31 14:32:51 +0000
commitad8d0eff746bf2612b1f043cee43b6f1dcd408aa (patch)
tree3c210c8ddf3ea4148667e843ccacd978f19ca017 /src/device/device_const.c
parent32c38ca221ff5956a81026fd0e5df330d569fcca (diff)
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>
Diffstat (limited to 'src/device/device_const.c')
-rw-r--r--src/device/device_const.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_const.c b/src/device/device_const.c
index fc76304994..9f3443e94c 100644
--- a/src/device/device_const.c
+++ b/src/device/device_const.c
@@ -118,7 +118,7 @@ static int path_eq(const struct device_path *path1,
equal = (path1->apic.apic_id == path2->apic.apic_id);
break;
case DEVICE_PATH_DOMAIN:
- equal = (path1->domain.domain == path2->domain.domain);
+ equal = (path1->domain.domain_id == path2->domain.domain_id);
break;
case DEVICE_PATH_CPU_CLUSTER:
equal = (path1->cpu_cluster.cluster