提交 6d24a1ee 编写于 作者: S Simon Glass 提交者: Bin Meng

x86: cpu: Make the vendor table const

This does not need to be modified at run-time, so make it const.
Signed-off-by: NSimon Glass <sjg@chromium.org>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
上级 9a01cca7
......@@ -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[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册