diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-29 19:04:13 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-29 19:04:13 +0000 |
commit | 8013d5a568d6ad3b98587ea2bb23dcbd06d7ed18 (patch) | |
tree | eaca21889eb387fd2c6e3f3a250797245ba17a35 /src | |
parent | b5828d74455a91553d78ef3077936693ae36213f (diff) |
cpu_driver structs need to be const, too...
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5314 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/amd/model_10xxx/model_10xxx_init.c | 2 | ||||
-rw-r--r-- | 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, }; |