diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2007-10-24 11:10:21 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2007-10-24 11:10:21 +0000 |
commit | 124e4a45ca6d1b1765b70fdc14ce03c5df76b257 (patch) | |
tree | bb03e69f50462eea0988531846056dfc9031023b /src/cpu/intel | |
parent | f1cf1f7c3aba660e4a174e966c4ef366d908565c (diff) |
analog changes for the cpu_driver structures...
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
Diffstat (limited to 'src/cpu/intel')
-rw-r--r-- | src/cpu/intel/model_69x/model_69x_init.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_6dx/model_6dx_init.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_6xx/model_6xx_init.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_f0x/model_f0x_init.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_f1x/model_f1x_init.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_f2x/model_f2x_init.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_f3x/model_f3x_init.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_f4x/model_f4x_init.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/src/cpu/intel/model_69x/model_69x_init.c b/src/cpu/intel/model_69x/model_69x_init.c index 9ea49a9c55..4c2e826526 100644 --- a/src/cpu/intel/model_69x/model_69x_init.c +++ b/src/cpu/intel/model_69x/model_69x_init.c @@ -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, }; diff --git a/src/cpu/intel/model_6dx/model_6dx_init.c b/src/cpu/intel/model_6dx/model_6dx_init.c index 3214bdd4bd..9319c64d81 100644 --- a/src/cpu/intel/model_6dx/model_6dx_init.c +++ b/src/cpu/intel/model_6dx/model_6dx_init.c @@ -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, }; diff --git a/src/cpu/intel/model_6xx/model_6xx_init.c b/src/cpu/intel/model_6xx/model_6xx_init.c index 3a017b74b3..b62576c55e 100644 --- a/src/cpu/intel/model_6xx/model_6xx_init.c +++ b/src/cpu/intel/model_6xx/model_6xx_init.c @@ -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, }; diff --git a/src/cpu/intel/model_f0x/model_f0x_init.c b/src/cpu/intel/model_f0x/model_f0x_init.c index 474d025799..c4d1ef085e 100644 --- a/src/cpu/intel/model_f0x/model_f0x_init.c +++ b/src/cpu/intel/model_f0x/model_f0x_init.c @@ -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, }; diff --git a/src/cpu/intel/model_f1x/model_f1x_init.c b/src/cpu/intel/model_f1x/model_f1x_init.c index 42dff1e276..a3a66783c4 100644 --- a/src/cpu/intel/model_f1x/model_f1x_init.c +++ b/src/cpu/intel/model_f1x/model_f1x_init.c @@ -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, }; diff --git a/src/cpu/intel/model_f2x/model_f2x_init.c b/src/cpu/intel/model_f2x/model_f2x_init.c index f019ea4473..607de0bccf 100644 --- a/src/cpu/intel/model_f2x/model_f2x_init.c +++ b/src/cpu/intel/model_f2x/model_f2x_init.c @@ -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, }; diff --git a/src/cpu/intel/model_f3x/model_f3x_init.c b/src/cpu/intel/model_f3x/model_f3x_init.c index 20b8518c7c..cbdd50ac2f 100644 --- a/src/cpu/intel/model_f3x/model_f3x_init.c +++ b/src/cpu/intel/model_f3x/model_f3x_init.c @@ -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, }; diff --git a/src/cpu/intel/model_f4x/model_f4x_init.c b/src/cpu/intel/model_f4x/model_f4x_init.c index 649638670d..a48c7592ba 100644 --- a/src/cpu/intel/model_f4x/model_f4x_init.c +++ b/src/cpu/intel/model_f4x/model_f4x_init.c @@ -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, }; |