analog changes for the cpu_driver structures...
authorStefan Reinauer <stepan@coresystems.de>
Wed, 24 Oct 2007 11:10:21 +0000 (11:10 +0000)
committerStefan Reinauer <stepan@openbios.org>
Wed, 24 Oct 2007 11:10:21 +0000 (11:10 +0000)
make them const before putting them into the read-only segment...
(trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2892 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 files changed:
src/cpu/amd/model_fxx/model_fxx_init.c
src/cpu/amd/model_gx1/model_gx1_init.c
src/cpu/amd/model_gx2/model_gx2_init.c
src/cpu/amd/model_lx/model_lx_init.c
src/cpu/intel/model_69x/model_69x_init.c
src/cpu/intel/model_6dx/model_6dx_init.c
src/cpu/intel/model_6xx/model_6xx_init.c
src/cpu/intel/model_f0x/model_f0x_init.c
src/cpu/intel/model_f1x/model_f1x_init.c
src/cpu/intel/model_f2x/model_f2x_init.c
src/cpu/intel/model_f3x/model_f3x_init.c
src/cpu/intel/model_f4x/model_f4x_init.c
src/cpu/via/model_centaur/model_centaur_init.c

index ab1014748a41a0fa2d30ec4f0bba170f03f88d51..0b16e21be639c374faa2bdb8c79151d2b4f87bb6 100644 (file)
@@ -625,7 +625,7 @@ static struct cpu_device_id cpu_table[] = {
 
        { 0, 0 },
 };
-static struct cpu_driver model_fxx __cpu_driver = {
+static const struct cpu_driver model_fxx __cpu_driver = {
        .ops      = &cpu_dev_ops,
        .id_table = cpu_table,
 };
index b5179565dbc7456a6ab05837f8ff3fe019b34c72..e3c9034beea90d73765917bd8a9cc3e066e8a3b3 100644 (file)
@@ -95,7 +95,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,
 };
index c6ad683ff8606d4dfd285e1629a884a6b2dc7307..580b04c7bd7b95ffb9d813f9f5d24393eefcc73b 100644 (file)
@@ -41,7 +41,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,
 };
index 9e6a1cf5582ab4e7234bf1e7c15f4160ea852ace..d1d08d7c88238d44d671e0c58c959916f377ef01 100644 (file)
@@ -68,7 +68,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,
 };
index 9ea49a9c55728d040b4925a13c912471b07f9836..4c2e82652650c5bd9baf23b93a071b5809c0de20 100644 (file)
@@ -42,7 +42,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,
 };
index 3214bdd4bd60335ebebcaed889045b9c44fa6017..9319c64d8155de80b05e3d61b069d4349bb8385b 100644 (file)
@@ -42,7 +42,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,
 };
index 3a017b74b3c84297fb9943736ba6ed26fd4050cc..b62576c55e6dd9d8b18baeff4b895b402b35c210 100644 (file)
@@ -57,7 +57,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,
 };
index 474d025799f4a69a993f0f61865a032a994a1a13..c4d1ef085ee23f1b042538583f360db8f7397952 100644 (file)
@@ -48,7 +48,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,
 };
index 42dff1e276f443846091d480ecc69d7795ff60c3..a3a66783c4266a91b370e2f4733e95a7a6fba1ec 100644 (file)
@@ -48,7 +48,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,
 };
index f019ea44735ad4bf34843b480b6824835de542ab..607de0bccf47e9202c932dd6b168c1ed9470e55b 100644 (file)
@@ -59,7 +59,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,
 };
index 20b8518c7cdfd30f1b7a4bda127daba622c4e2c8..cbdd50ac2f117f1ea40421b52597f44f6e6d4206 100644 (file)
@@ -52,7 +52,7 @@ static struct cpu_device_id cpu_table[] = {
        { 0, 0 },
 };
 
-static struct cpu_driver model_f3x __cpu_driver = {
+static const struct cpu_driver model_f3x __cpu_driver = {
        .ops      = &cpu_dev_ops,
        .id_table = cpu_table,
 };
index 649638670d84ff4c849563ad43690ec95184b94c..a48c7592ba3d57881e847aa04f6b4f11f6e9cb59 100644 (file)
@@ -52,7 +52,7 @@ static struct cpu_device_id cpu_table[] = {
        { 0, 0 },
 };
 
-static struct cpu_driver model_f4x __cpu_driver = {
+static const struct cpu_driver model_f4x __cpu_driver = {
        .ops      = &cpu_dev_ops,
        .id_table = cpu_table,
 };
index 8b6f62c00f1a53a5fba7d62a70bda25e11a043dc..9e354bceb60ea9d71c124fe76de3a2c88878b3f2 100644 (file)
@@ -51,7 +51,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,
 };