From 8013d5a568d6ad3b98587ea2bb23dcbd06d7ed18 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 29 Mar 2010 19:04:13 +0000 Subject: [PATCH] cpu_driver structs need to be const, too... Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5314 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/amd/model_10xxx/model_10xxx_init.c | 2 +- src/cpu/intel/ep80579/ep80579_init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpu/amd/model_10xxx/model_10xxx_init.c b/src/cpu/amd/model_10xxx/model_10xxx_init.c index 8aac3e89ec..b692144e20 100644 --- a/src/cpu/amd/model_10xxx/model_10xxx_init.c +++ b/src/cpu/amd/model_10xxx/model_10xxx_init.c @@ -148,7 +148,7 @@ static struct cpu_device_id cpu_table[] = { { X86_VENDOR_AMD, 0x100F80 }, /* HY-D0 */ { 0, 0 }, }; -static struct cpu_driver model_10xxx __cpu_driver = { +static const struct cpu_driver model_10xxx __cpu_driver = { .ops = &cpu_dev_ops, .id_table = cpu_table, }; diff --git a/src/cpu/intel/ep80579/ep80579_init.c b/src/cpu/intel/ep80579/ep80579_init.c index 9416089df2..2f47158efb 100644 --- a/src/cpu/intel/ep80579/ep80579_init.c +++ b/src/cpu/intel/ep80579/ep80579_init.c @@ -60,7 +60,7 @@ static struct cpu_device_id cpu_table[] = { { 0, 0 }, }; -static struct cpu_driver driver __cpu_driver = { +static const struct cpu_driver driver __cpu_driver = { .ops = &cpu_dev_ops, .id_table = cpu_table, };