diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2011-06-10 11:23:04 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-06-15 02:49:10 -0400 |
commit | 4ee58461510221a53080afd02752838f93cc57fc (patch) | |
tree | 1f1ab84cae09a8cd62b8c31f37b310513ed792b7 /drivers/video | |
parent | 8be90b07ac2a07b4f1eb685caa97e88b9f85ef27 (diff) |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/Kconfig | 7 | ||||
-rw-r--r-- | drivers/video/au1200fb.c | 8 |
2 files changed, 9 insertions, 6 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 549b960667c8..5e19de97242a 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -1756,9 +1756,10 @@ config FB_AU1100 | |||
1756 | config FB_AU1200 | 1756 | config FB_AU1200 |
1757 | bool "Au1200 LCD Driver" | 1757 | bool "Au1200 LCD Driver" |
1758 | depends on (FB = y) && MIPS && SOC_AU1200 | 1758 | depends on (FB = y) && MIPS && SOC_AU1200 |
1759 | select FB_CFB_FILLRECT | 1759 | select FB_SYS_FILLRECT |
1760 | select FB_CFB_COPYAREA | 1760 | select FB_SYS_COPYAREA |
1761 | select FB_CFB_IMAGEBLIT | 1761 | select FB_SYS_IMAGEBLIT |
1762 | select FB_SYS_FOPS | ||
1762 | help | 1763 | help |
1763 | This is the framebuffer driver for the AMD Au1200 SOC. It can drive | 1764 | This is the framebuffer driver for the AMD Au1200 SOC. It can drive |
1764 | various panels and CRTs by passing in kernel cmd line option | 1765 | various panels and CRTs by passing in kernel cmd line option |
diff --git a/drivers/video/au1200fb.c b/drivers/video/au1200fb.c index 4b58f7ba5728..b1b16d98c919 100644 --- a/drivers/video/au1200fb.c +++ b/drivers/video/au1200fb.c | |||
@@ -1502,9 +1502,11 @@ static struct fb_ops au1200fb_fb_ops = { | |||
1502 | .fb_set_par = au1200fb_fb_set_par, | 1502 | .fb_set_par = au1200fb_fb_set_par, |
1503 | .fb_setcolreg = au1200fb_fb_setcolreg, | 1503 | .fb_setcolreg = au1200fb_fb_setcolreg, |
1504 | .fb_blank = au1200fb_fb_blank, | 1504 | .fb_blank = au1200fb_fb_blank, |
1505 | .fb_fillrect = cfb_fillrect, | 1505 | .fb_fillrect = sys_fillrect, |
1506 | .fb_copyarea = cfb_copyarea, | 1506 | .fb_copyarea = sys_copyarea, |
1507 | .fb_imageblit = cfb_imageblit, | 1507 | .fb_imageblit = sys_imageblit, |
1508 | .fb_read = fb_sys_read, | ||
1509 | .fb_write = fb_sys_write, | ||
1508 | .fb_sync = NULL, | 1510 | .fb_sync = NULL, |
1509 | .fb_ioctl = au1200fb_ioctl, | 1511 | .fb_ioctl = au1200fb_ioctl, |
1510 | .fb_mmap = au1200fb_fb_mmap, | 1512 | .fb_mmap = au1200fb_fb_mmap, |