All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] staging: sm7xxfb: declare struct as const
@ 2015-06-16 13:54 ` Sudip Mukherjee
  0 siblings, 0 replies; 24+ messages in thread
From: Sudip Mukherjee @ 2015-06-16 13:42 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: linux-fbdev, devel, linux-kernel, Joe Perches, Sudip Mukherjee

The vesa_mode_table is not to be modified, so declare it as const.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
 drivers/staging/sm7xxfb/sm7xxfb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c
index 5db26f1..4d9b69d 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},
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2015-06-17 11:42 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16 13:42 [PATCH 1/8] staging: sm7xxfb: declare struct as const Sudip Mukherjee
2015-06-16 13:54 ` Sudip Mukherjee
2015-06-16 13:42 ` [PATCH 2/8] staging: sm7xxfb: remove numvgamodes Sudip Mukherjee
2015-06-16 13:54   ` Sudip Mukherjee
2015-06-16 13:42 ` [PATCH 3/8] staging: sm7xxfb: add newline Sudip Mukherjee
2015-06-16 13:54   ` Sudip Mukherjee
2015-06-16 13:42 ` [PATCH 4/8] staging: sm7xxfb: no space after cast Sudip Mukherjee
2015-06-16 13:54   ` Sudip Mukherjee
2015-06-16 13:42 ` [PATCH 5/8] staging: sm7xxfb: fix alignment Sudip Mukherjee
2015-06-16 13:54   ` Sudip Mukherjee
2015-06-16 13:42 ` [PATCH 6/8] staging: sm7xxfb: reduce indention Sudip Mukherjee
2015-06-16 13:54   ` Sudip Mukherjee
2015-06-16 13:42 ` [PATCH 7/8] staging: sm7xxfb: move mode table Sudip Mukherjee
2015-06-16 13:54   ` Sudip Mukherjee
2015-06-16 17:33   ` Joe Perches
2015-06-16 17:33     ` Joe Perches
2015-06-17  8:15     ` Sudip Mukherjee
2015-06-17  8:27       ` Sudip Mukherjee
2015-06-17  8:20       ` Joe Perches
2015-06-17  8:20         ` Joe Perches
2015-06-17 11:30         ` Sudip Mukherjee
2015-06-17 11:42           ` Sudip Mukherjee
2015-06-16 13:42 ` [PATCH 8/8] staging: sm7xxfb: fix camelcase Sudip Mukherjee
2015-06-16 13:54   ` Sudip Mukherjee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.