diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-02-06 14:50:43 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-08 15:07:32 +0000 |
commit | 2fe5d3e5a5982169aeac86188949a301ab9ed0aa (patch) | |
tree | dbe90b4a77cd30a3b21720a1ddac9652cfb13917 /src | |
parent | 6b5b7e0654fcbc41e302539c05b258130d8bb3fe (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/include/arch/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h index 18bc961828..26315eba3e 100644 --- a/src/arch/x86/include/arch/cpu.h +++ b/src/arch/x86/include/arch/cpu.h @@ -113,7 +113,7 @@ struct device; struct cpu_device_id { unsigned int vendor; - unsigned int device; + uint32_t device; }; struct cpu_driver { |