cpu_driver structs need to be const, too...
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
This commit is contained in:
parent
b5828d7445
commit
8013d5a568
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue