aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sm501fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/sm501fb.c')
-rw-r--r--drivers/video/sm501fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sm501fb.c b/drivers/video/sm501fb.c
index 0a44c44672c8..c86df126f93a 100644
--- a/drivers/video/sm501fb.c
+++ b/drivers/video/sm501fb.c
@@ -989,7 +989,7 @@ static int sm501fb_cursor(struct fb_info *info, struct fb_cursor *cursor)
989 ((info->cmap.green[fg_col] & 0xFC) << 3) | 989 ((info->cmap.green[fg_col] & 0xFC) << 3) |
990 ((info->cmap.blue[fg_col] & 0xF8) >> 3); 990 ((info->cmap.blue[fg_col] & 0xF8) >> 3);
991 991
992 dev_dbg(fbi->dev, "fgcol %08x, bgcol %08x\n", fg, bg); 992 dev_dbg(fbi->dev, "fgcol %08lx, bgcol %08lx\n", fg, bg);
993 993
994 writel(bg, base + SM501_OFF_HWC_COLOR_1_2); 994 writel(bg, base + SM501_OFF_HWC_COLOR_1_2);
995 writel(fg, base + SM501_OFF_HWC_COLOR_3); 995 writel(fg, base + SM501_OFF_HWC_COLOR_3);