summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@maxwell.earthlink.net>2003-01-25 22:03:50 -0800
committerJames Simmons <jsimmons@maxwell.earthlink.net>2003-01-25 22:03:50 -0800
commit848b9f424beb28f9cdc51cb6644a21a02f9d4fca (patch)
tree41b8c8788d2b9911a213c7108729401b9d1062d6 /include/linux
parentab42857705a56e76877b8151858ae4076eaed425 (diff)
Accel rountines pass in constant data into each function. The reason being was some of the code in the upper layers depended on the data being passed to the low level function not be altered because the upper layers was altering the data themselves.
Pan display fix for fbcon.c. p->vrow needed to be updated. PPC build fix for fbmon.c I810 fbdev updates.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fb.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 1cd52a5c15a0..d2c6eddda17b 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -360,11 +360,11 @@ struct fb_ops {
/* pan display */
int (*fb_pan_display)(struct fb_var_screeninfo *var, struct fb_info *info);
/* draws a rectangle */
- void (*fb_fillrect)(struct fb_info *info, struct fb_fillrect *rect);
+ void (*fb_fillrect)(struct fb_info *info, const struct fb_fillrect *rect);
/* Copy data from area to another */
- void (*fb_copyarea)(struct fb_info *info, struct fb_copyarea *region);
+ void (*fb_copyarea)(struct fb_info *info,const struct fb_copyarea *region);
/* Draws a image to the display */
- void (*fb_imageblit)(struct fb_info *info, struct fb_image *image);
+ void (*fb_imageblit)(struct fb_info *info, const struct fb_image *image);
/* Draws cursor */
int (*fb_cursor)(struct fb_info *info, struct fb_cursor *cursor);
/* Rotates the display */
@@ -457,9 +457,9 @@ extern int fb_set_var(struct fb_var_screeninfo *var, struct fb_info *info);
extern int fb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info);
extern int fb_blank(int blank, struct fb_info *info);
extern int soft_cursor(struct fb_info *info, struct fb_cursor *cursor);
-extern void cfb_fillrect(struct fb_info *info, struct fb_fillrect *rect);
-extern void cfb_copyarea(struct fb_info *info, struct fb_copyarea *area);
-extern void cfb_imageblit(struct fb_info *info, struct fb_image *image);
+extern void cfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
+extern void cfb_copyarea(struct fb_info *info, const struct fb_copyarea *area);
+extern void cfb_imageblit(struct fb_info *info, const struct fb_image *image);
/* drivers/video/fbmem.c */
extern int register_framebuffer(struct fb_info *fb_info);