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:
parent
f1cf1f7c3a
commit
124e4a45ca
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue