projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15006cb
)
VIDEO: mx3fb: GCC4.6 fix build warnings
author
Stefano Babic
<sbabic@denx.de>
Sun, 6 Nov 2011 00:42:07 +0000
(
00:42
+0000)
committer
Anatolij Gustschin
<agust@denx.de>
Thu, 10 Nov 2011 22:27:28 +0000
(23:27 +0100)
Fix:
mx3fb.c: In function 'video_hw_init':
mx3fb.c:827:30: warning: variable 'vesa_idx' set but not used
Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Anatolij Gustschin <agust@denx.de>
drivers/video/mx3fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/mx3fb.c
b/drivers/video/mx3fb.c
index f30deb3922847aaf5de878886290dcfc7f7ac022..eb75c6a4d012ecdda137451a71f21f661abbaf61 100644
(file)
--- a/
drivers/video/mx3fb.c
+++ b/
drivers/video/mx3fb.c
@@
-824,7
+824,7
@@
void *video_hw_init(void)
char *penv;
u32 memsize;
unsigned long t1, hsynch, vsynch;
- int bits_per_pixel, i, tmp, v
esa_idx = 0, v
ideomode;
+ int bits_per_pixel, i, tmp, videomode;
tmp = 0;
@@
-857,7
+857,6
@@
void *video_hw_init(void)
mode = (struct ctfb_res_modes *)
&res_mode_init[vesa_modes[i].resindex];
bits_per_pixel = vesa_modes[i].bits_per_pixel;
- vesa_idx = vesa_modes[i].resindex;
} else {
mode = (struct ctfb_res_modes *) &var_mode;
bits_per_pixel = video_get_params(mode, penv);