au1200fb: switch to FB_SYS helpers

Since all video memory is in system ram, use FB_SYS helpers.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Manuel Lauss 2011-06-10 15:23:04 +00:00 committed by Paul Mundt
parent 8be90b07ac
commit 4ee5846151
2 changed files with 9 additions and 6 deletions

View File

@ -1756,9 +1756,10 @@ config FB_AU1100
config FB_AU1200 config FB_AU1200
bool "Au1200 LCD Driver" bool "Au1200 LCD Driver"
depends on (FB = y) && MIPS && SOC_AU1200 depends on (FB = y) && MIPS && SOC_AU1200
select FB_CFB_FILLRECT select FB_SYS_FILLRECT
select FB_CFB_COPYAREA select FB_SYS_COPYAREA
select FB_CFB_IMAGEBLIT select FB_SYS_IMAGEBLIT
select FB_SYS_FOPS
help help
This is the framebuffer driver for the AMD Au1200 SOC. It can drive This is the framebuffer driver for the AMD Au1200 SOC. It can drive
various panels and CRTs by passing in kernel cmd line option various panels and CRTs by passing in kernel cmd line option

View File

@ -1502,9 +1502,11 @@ static struct fb_ops au1200fb_fb_ops = {
.fb_set_par = au1200fb_fb_set_par, .fb_set_par = au1200fb_fb_set_par,
.fb_setcolreg = au1200fb_fb_setcolreg, .fb_setcolreg = au1200fb_fb_setcolreg,
.fb_blank = au1200fb_fb_blank, .fb_blank = au1200fb_fb_blank,
.fb_fillrect = cfb_fillrect, .fb_fillrect = sys_fillrect,
.fb_copyarea = cfb_copyarea, .fb_copyarea = sys_copyarea,
.fb_imageblit = cfb_imageblit, .fb_imageblit = sys_imageblit,
.fb_read = fb_sys_read,
.fb_write = fb_sys_write,
.fb_sync = NULL, .fb_sync = NULL,
.fb_ioctl = au1200fb_ioctl, .fb_ioctl = au1200fb_ioctl,
.fb_mmap = au1200fb_fb_mmap, .fb_mmap = au1200fb_fb_mmap,