aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/cpu.c')
-rw-r--r--src/arch/x86/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/cpu.c b/src/arch/x86/cpu.c
index ff82661447..cfcfdbd5d2 100644
--- a/src/arch/x86/cpu.c
+++ b/src/arch/x86/cpu.c
@@ -203,7 +203,7 @@ struct cpu_driver *find_cpu_driver(struct device *cpu)
{
struct cpu_driver *driver;
for (driver = _cpu_drivers; driver < _ecpu_drivers; driver++) {
- struct cpu_device_id *id;
+ const struct cpu_device_id *id;
for (id = driver->id_table;
id->vendor != X86_VENDOR_INVALID; id++) {
if ((cpu->vendor == id->vendor) &&