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:
Sudip Mukherjee 2015-06-17 16:54:40 +05:30 committed by Greg Kroah-Hartman
parent 1bbf29ab8f
commit 9d91928c9d
1 changed files with 1 additions and 1 deletions

View File

@ -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},