Commit 097522b8 authored by David S. Miller's avatar David S. Miller

[FB FFB/CG6]: Fix image->data const typing.

parent b03bcec1
...@@ -328,7 +328,7 @@ static void cg6_imageblit(struct fb_info *info, const struct fb_image *image) ...@@ -328,7 +328,7 @@ static void cg6_imageblit(struct fb_info *info, const struct fb_image *image)
{ {
struct cg6_par *par = (struct cg6_par *) info->par; struct cg6_par *par = (struct cg6_par *) info->par;
struct cg6_fbc *fbc = par->fbc; struct cg6_fbc *fbc = par->fbc;
u8 *data = image->data; const u8 *data = image->data;
unsigned long flags; unsigned long flags;
u32 x, y; u32 x, y;
int i, width; int i, width;
......
...@@ -580,7 +580,7 @@ static void ffb_imageblit(struct fb_info *info, const struct fb_image *image) ...@@ -580,7 +580,7 @@ static void ffb_imageblit(struct fb_info *info, const struct fb_image *image)
{ {
struct ffb_par *par = (struct ffb_par *) info->par; struct ffb_par *par = (struct ffb_par *) info->par;
struct ffb_fbc *fbc = par->fbc; struct ffb_fbc *fbc = par->fbc;
u8 *data = (u8 *) image->data; const u8 *data = image->data;
unsigned long flags; unsigned long flags;
u32 fg, bg, xy; u32 fg, bg, xy;
u64 fgbg; u64 fgbg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment