summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-29 19:04:13 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-29 19:04:13 +0000
commit8013d5a568d6ad3b98587ea2bb23dcbd06d7ed18 (patch)
treeeaca21889eb387fd2c6e3f3a250797245ba17a35 /src/cpu/amd
parentb5828d74455a91553d78ef3077936693ae36213f (diff)
downloadcoreboot-8013d5a568d6ad3b98587ea2bb23dcbd06d7ed18.tar.xz
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/cpu/amd')
-rw-r--r--src/cpu/amd/model_10xxx/model_10xxx_init.c2
1 files changed, 1 insertions, 1 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,
};