diff options
author | Michel von Czettritz <michel.von.czettritz@gmail.com> | 2015-03-27 01:27:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 14:39:33 +0300 |
commit | eb1167a36cdb48ae6328132ad68bf1bdc29339cf (patch) | |
tree | 6188c198b191d33d935e9f856c63295d8a6f4996 /drivers/staging/sm750fb/sm750.c | |
parent | a0c838f10a18982a02f1a46904637748d066a6b9 (diff) | |
download | linux-eb1167a36cdb48ae6328132ad68bf1bdc29339cf.tar.xz |
staging: sm750: fix whitspace for cast to pointer
This patch fixes the checkpatch.pl warning:
'ERROR: "(foo*)" should be "(foo *)"'
Signed-off-by: Michel von Czettritz <michel.von.czettritz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/sm750.c')
-rw-r--r-- | drivers/staging/sm750fb/sm750.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index edd7d1d7edb3..f300df4f8e87 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -202,7 +202,7 @@ static void lynxfb_ops_fillrect(struct fb_info *info, pitch = info->fix.line_length; Bpp = info->var.bits_per_pixel >> 3; - color = (Bpp == 1)?region->color:((u32*)info->pseudo_palette)[region->color]; + color = (Bpp == 1)?region->color:((u32 *)info->pseudo_palette)[region->color]; rop = (region->rop != ROP_COPY) ? HW_ROP2_XOR:HW_ROP2_COPY; /* @@ -271,8 +271,8 @@ static void lynxfb_ops_imageblit(struct fb_info *info, if (image->depth == 1) { if (info->fix.visual == FB_VISUAL_TRUECOLOR || info->fix.visual == FB_VISUAL_DIRECTCOLOR) { - fgcol = ((u32*)info->pseudo_palette)[image->fg_color]; - bgcol = ((u32*)info->pseudo_palette)[image->bg_color]; + fgcol = ((u32 *)info->pseudo_palette)[image->fg_color]; + bgcol = ((u32 *)info->pseudo_palette)[image->bg_color]; } else { fgcol = image->fg_color; bgcol = image->bg_color; |