diff options
Diffstat (limited to 'drivers/video/cfbimgblt.c')
-rw-r--r-- | drivers/video/cfbimgblt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/cfbimgblt.c b/drivers/video/cfbimgblt.c index 51d35386a945..261004473c8e 100644 --- a/drivers/video/cfbimgblt.c +++ b/drivers/video/cfbimgblt.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #define DPRINTK(fmt, args...) | 42 | #define DPRINTK(fmt, args...) |
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | static u32 cfb_tab8[] = { | 45 | static const u32 cfb_tab8[] = { |
46 | #if defined(__BIG_ENDIAN) | 46 | #if defined(__BIG_ENDIAN) |
47 | 0x00000000,0x000000ff,0x0000ff00,0x0000ffff, | 47 | 0x00000000,0x000000ff,0x0000ff00,0x0000ffff, |
48 | 0x00ff0000,0x00ff00ff,0x00ffff00,0x00ffffff, | 48 | 0x00ff0000,0x00ff00ff,0x00ffff00,0x00ffffff, |
@@ -58,7 +58,7 @@ static u32 cfb_tab8[] = { | |||
58 | #endif | 58 | #endif |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static u32 cfb_tab16[] = { | 61 | static const u32 cfb_tab16[] = { |
62 | #if defined(__BIG_ENDIAN) | 62 | #if defined(__BIG_ENDIAN) |
63 | 0x00000000, 0x0000ffff, 0xffff0000, 0xffffffff | 63 | 0x00000000, 0x0000ffff, 0xffff0000, 0xffffffff |
64 | #elif defined(__LITTLE_ENDIAN) | 64 | #elif defined(__LITTLE_ENDIAN) |
@@ -68,7 +68,7 @@ static u32 cfb_tab16[] = { | |||
68 | #endif | 68 | #endif |
69 | }; | 69 | }; |
70 | 70 | ||
71 | static u32 cfb_tab32[] = { | 71 | static const u32 cfb_tab32[] = { |
72 | 0x00000000, 0xffffffff | 72 | 0x00000000, 0xffffffff |
73 | }; | 73 | }; |
74 | 74 | ||
@@ -218,7 +218,7 @@ static inline void fast_imageblit(const struct fb_image *image, struct fb_info * | |||
218 | u32 bit_mask, end_mask, eorx, shift; | 218 | u32 bit_mask, end_mask, eorx, shift; |
219 | const char *s = image->data, *src; | 219 | const char *s = image->data, *src; |
220 | u32 __iomem *dst; | 220 | u32 __iomem *dst; |
221 | u32 *tab = NULL; | 221 | const u32 *tab = NULL; |
222 | int i, j, k; | 222 | int i, j, k; |
223 | 223 | ||
224 | switch (bpp) { | 224 | switch (bpp) { |