arch/x86/include/cpu: retype device field in cpu_device_id

Use a more specific type in preparation for using bit masks on this
field in the next patch. Since uint32_t is a typedef of unsigned int,
this won't change behavior.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ic54f73dcd3496a5ad85291b9b9586bc740b734d5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72846
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Felix Held 2023-02-06 14:50:43 +01:00
parent 6b5b7e0654
commit 2fe5d3e5a5
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ struct device;
struct cpu_device_id { struct cpu_device_id {
unsigned int vendor; unsigned int vendor;
unsigned int device; uint32_t device;
}; };
struct cpu_driver { struct cpu_driver {