[PATCH] various fbdev files: mark structs and array read-only
- move some structs and arrays to the read-only (.rodata) section [akpm@osdl.org: build fix] Signed-off-by: Helge Deller <deller@gmx.de> Acked-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committad av
Linus Torvalds

förälder
adf6b20654
incheckning
d95159cf1b
@@ -57,7 +57,7 @@ struct fb_cvt_data {
|
||||
u32 status;
|
||||
};
|
||||
|
||||
static int fb_cvt_vbi_tab[] = {
|
||||
static const unsigned char fb_cvt_vbi_tab[] = {
|
||||
4, /* 4:3 */
|
||||
5, /* 16:9 */
|
||||
6, /* 16:10 */
|
||||
|
Referens i nytt ärende
Block a user