diff options
Diffstat (limited to 'src/cpu/amd')
-rw-r--r-- | src/cpu/amd/model_fxx/model_fxx_init.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/model_gx1/model_gx1_init.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/model_gx2/model_gx2_init.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/model_lx/model_lx_init.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/amd/model_fxx/model_fxx_init.c b/src/cpu/amd/model_fxx/model_fxx_init.c index ab1014748a..0b16e21be6 100644 --- a/src/cpu/amd/model_fxx/model_fxx_init.c +++ b/src/cpu/amd/model_fxx/model_fxx_init.c @@ -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, }; diff --git a/src/cpu/amd/model_gx1/model_gx1_init.c b/src/cpu/amd/model_gx1/model_gx1_init.c index b5179565db..e3c9034bee 100644 --- a/src/cpu/amd/model_gx1/model_gx1_init.c +++ b/src/cpu/amd/model_gx1/model_gx1_init.c @@ -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, }; diff --git a/src/cpu/amd/model_gx2/model_gx2_init.c b/src/cpu/amd/model_gx2/model_gx2_init.c index c6ad683ff8..580b04c7bd 100644 --- a/src/cpu/amd/model_gx2/model_gx2_init.c +++ b/src/cpu/amd/model_gx2/model_gx2_init.c @@ -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, }; diff --git a/src/cpu/amd/model_lx/model_lx_init.c b/src/cpu/amd/model_lx/model_lx_init.c index 9e6a1cf558..d1d08d7c88 100644 --- a/src/cpu/amd/model_lx/model_lx_init.c +++ b/src/cpu/amd/model_lx/model_lx_init.c @@ -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, }; |