diff options
author | 2015-06-17 16:54:40 +0530 | |
---|---|---|
committer | 2015-06-17 21:44:29 -0700 | |
commit | 9d91928c9d70e86635cf34ad11024142f9f73dfc (patch) | |
tree | 4effcb905ea6f07f090de35723e96c252c46983d | |
parent | staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb (diff) | |
download | wireguard-linux-9d91928c9d70e86635cf34ad11024142f9f73dfc.tar.xz wireguard-linux-9d91928c9d70e86635cf34ad11024142f9f73dfc.zip |
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>
-rw-r--r-- | drivers/staging/sm7xxfb/sm7xxfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 5db26f16569c..4d9b69d26166 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -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}, |