Commit 6d24a1eebe5685d1ed7c1e066e333ff4cc795367

Authored by Simon Glass
Committed by Bin Meng
1 parent 9a01cca750

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -71,7 +71,7 @@
71 71 * List of cpu vendor strings along with their normalized
72 72 * id values.
73 73 */
74   -static struct {
  74 +static const struct {
75 75 int vendor;
76 76 const char *name;
77 77 } x86_vendors[] = {