mirror of https://gitee.com/openkylin/linux.git
staging: sm7xxfb: declare struct as const
The vesa_mode_table is not to be modified, so declare it as const. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1bbf29ab8f
commit
9d91928c9d
|
@ -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},
|
||||
|
|
Loading…
Reference in New Issue