mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
x86: cpu: Make the vendor table const
This does not need to be modified at run-time, so make it const. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
9a01cca750
commit
6d24a1eebe
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ struct cpuinfo_x86 {
|
|||
* List of cpu vendor strings along with their normalized
|
||||
* id values.
|
||||
*/
|
||||
static struct {
|
||||
static const struct {
|
||||
int vendor;
|
||||
const char *name;
|
||||
} x86_vendors[] = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue