aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/riva/fbdev.c
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@pentafluge.infradead.org>2005-06-21 20:17:08 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-21 22:07:42 -0400
commit58a606431a704b5c240c1429a5526fac81c9800a (patch)
tree42299e741ce03b4f30448eb6d2cc1f2ce10d0b5a /drivers/video/riva/fbdev.c
parentf1ab5dac251bb4514607918b0019a3b3f5f5fb48 (diff)
[PATCH] fbdev: fill in the access_align field.
Several drivers miss filling in the access_align field. So this patch has them fill it in. Signed-off-by: James Simmons <jsimmons@www.infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/riva/fbdev.c')
-rw-r--r--drivers/video/riva/fbdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index 7540f60af948..6a9e183be41b 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -1723,6 +1723,7 @@ static int __devinit riva_set_fbinfo(struct fb_info *info)
1723 1723
1724 info->pixmap.size = 8 * 1024; 1724 info->pixmap.size = 8 * 1024;
1725 info->pixmap.buf_align = 4; 1725 info->pixmap.buf_align = 4;
1726 info->pixmap.access_align = 32;
1726 info->pixmap.flags = FB_PIXMAP_SYSTEM; 1727 info->pixmap.flags = FB_PIXMAP_SYSTEM;
1727 info->var.yres_virtual = -1; 1728 info->var.yres_virtual = -1;
1728 NVTRACE_LEAVE(); 1729 NVTRACE_LEAVE();