aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/imsttfb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/video/imsttfb.c b/drivers/video/imsttfb.c
index 3ab91bf21576..04696f93dfc9 100644
--- a/drivers/video/imsttfb.c
+++ b/drivers/video/imsttfb.c
@@ -1151,8 +1151,10 @@ imsttfb_load_cursor_image(struct imstt_par *par, int width, int height, __u8 fgc
1151 par->cmap_regs[TVPCRDAT] = 0xff; eieio(); 1151 par->cmap_regs[TVPCRDAT] = 0xff; eieio();
1152 } 1152 }
1153 par->cmap_regs[TVPCADRW] = 0x00; eieio(); 1153 par->cmap_regs[TVPCADRW] = 0x00; eieio();
1154 for (x = 0; x < 12; x++) 1154 for (x = 0; x < 12; x++) {
1155 par->cmap_regs[TVPCDATA] = fgc; eieio(); 1155 par->cmap_regs[TVPCDATA] = fgc;
1156 eieio();
1157 }
1156 } 1158 }
1157 return 1; 1159 return 1;
1158} 1160}