mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
drivers/video/imsttfb.c: add missing curly brackets
in #if 0 inactivated function msttfb_load_cursor_image() the call eieio() occurs after rather than in the loop due to missing curly brackets. Signed-off-by: Roel Kluin <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5e72b32d86
commit
a1e68927c1
1 changed files with 4 additions and 2 deletions
|
|
@ -1151,8 +1151,10 @@ imsttfb_load_cursor_image(struct imstt_par *par, int width, int height, __u8 fgc
|
|||
par->cmap_regs[TVPCRDAT] = 0xff; eieio();
|
||||
}
|
||||
par->cmap_regs[TVPCADRW] = 0x00; eieio();
|
||||
for (x = 0; x < 12; x++)
|
||||
par->cmap_regs[TVPCDATA] = fgc; eieio();
|
||||
for (x = 0; x < 12; x++) {
|
||||
par->cmap_regs[TVPCDATA] = fgc;
|
||||
eieio();
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue