提交 9d91928c 编写于 作者: S Sudip Mukherjee 提交者: Greg Kroah-Hartman

staging: sm7xxfb: declare struct as const

The vesa_mode_table is not to be modified, so declare it as const.
Signed-off-by: NSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 1bbf29ab
......@@ -94,7 +94,7 @@ struct vesa_mode {
u16 lfb_depth;
};
static struct vesa_mode vesa_mode_table[] = {
static const struct vesa_mode vesa_mode_table[] = {
{"0x301", 640, 480, 8},
{"0x303", 800, 600, 8},
{"0x305", 1024, 768, 8},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册