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
This commit is contained in:
Stefan Reinauer 2007-10-24 11:10:21 +00:00 committed by Stefan Reinauer
parent f1cf1f7c3a
commit 124e4a45ca
13 changed files with 13 additions and 13 deletions

View 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,
};

View 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,
};

View 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,
};

View 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,
};

View 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,
};

View 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,
};

View 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,
};

View 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,
};

View 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,
};

View 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,
};

View 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,
};

View 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,
};

View 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,
};