cpu_driver structs need to be const, too...
authorStefan Reinauer <stepan@coresystems.de>
Mon, 29 Mar 2010 19:04:13 +0000 (19:04 +0000)
committerStefan Reinauer <stepan@openbios.org>
Mon, 29 Mar 2010 19:04:13 +0000 (19:04 +0000)
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

src/cpu/amd/model_10xxx/model_10xxx_init.c
src/cpu/intel/ep80579/ep80579_init.c

index 8aac3e89ec6b09753c07014facf81a044eebee12..b692144e20e660eefeebd8235dafe3cad74e2546 100644 (file)
@@ -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,
 };
index 9416089df2c02ea274e996ab428a980c7bde2454..2f47158efb0a5d223f4e26244542bb9c53e39460 100644 (file)
@@ -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,
 };