aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/amifb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/amifb.c')
-rw-r--r--drivers/video/amifb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c
index d3847e70f99..421c1f9d74a 100644
--- a/drivers/video/amifb.c
+++ b/drivers/video/amifb.c
@@ -2411,7 +2411,7 @@ static int amifb_check_var(struct fb_var_screeninfo *var,
2411 2411
2412static int amifb_set_par(struct fb_info *info) 2412static int amifb_set_par(struct fb_info *info)
2413{ 2413{
2414 struct amifb_par *par = (struct amifb_par *)info->par; 2414 struct amifb_par *par = info->par;
2415 2415
2416 do_vmode_pan = 0; 2416 do_vmode_pan = 0;
2417 do_vmode_full = 0; 2417 do_vmode_full = 0;
@@ -3181,7 +3181,7 @@ static inline void xor_one_line(int bpp, unsigned long next_plane,
3181static void amifb_fillrect(struct fb_info *info, 3181static void amifb_fillrect(struct fb_info *info,
3182 const struct fb_fillrect *rect) 3182 const struct fb_fillrect *rect)
3183{ 3183{
3184 struct amifb_par *par = (struct amifb_par *)info->par; 3184 struct amifb_par *par = info->par;
3185 int dst_idx, x2, y2; 3185 int dst_idx, x2, y2;
3186 unsigned long *dst; 3186 unsigned long *dst;
3187 u32 width, height; 3187 u32 width, height;
@@ -3259,7 +3259,7 @@ static inline void copy_one_line_rev(int bpp, unsigned long next_plane,
3259static void amifb_copyarea(struct fb_info *info, 3259static void amifb_copyarea(struct fb_info *info,
3260 const struct fb_copyarea *area) 3260 const struct fb_copyarea *area)
3261{ 3261{
3262 struct amifb_par *par = (struct amifb_par *)info->par; 3262 struct amifb_par *par = info->par;
3263 int x2, y2; 3263 int x2, y2;
3264 u32 dx, dy, sx, sy, width, height; 3264 u32 dx, dy, sx, sy, width, height;
3265 unsigned long *dst, *src; 3265 unsigned long *dst, *src;
@@ -3352,7 +3352,7 @@ static inline void expand_one_line(int bpp, unsigned long next_plane,
3352 3352
3353static void amifb_imageblit(struct fb_info *info, const struct fb_image *image) 3353static void amifb_imageblit(struct fb_info *info, const struct fb_image *image)
3354{ 3354{
3355 struct amifb_par *par = (struct amifb_par *)info->par; 3355 struct amifb_par *par = info->par;
3356 int x2, y2; 3356 int x2, y2;
3357 unsigned long *dst; 3357 unsigned long *dst;
3358 int dst_idx; 3358 int dst_idx;