summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_fb.c
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2010-04-07 17:06:21 +0200
committerDave Airlie <airlied@redhat.com>2010-04-08 02:09:50 +0200
commitb1f201980eb4a7a59277a13cf18acdbb46167ad5 (patch)
tree7c10f2ed19e731db08db035686077e64d953a1aa /drivers/gpu/drm/i915/intel_fb.c
parentdrm/kms/fb: use slow work mechanism for normal hotplug also. (diff)
downloadlinux-b1f201980eb4a7a59277a13cf18acdbb46167ad5.tar.xz
linux-b1f201980eb4a7a59277a13cf18acdbb46167ad5.zip
drm/fb: remove drm_fb_helper_setcolreg
This patch is against the drm-fbdevfix1 branch. It removes the drm_fb_helper_setcolreg function. The reason is that fb_setcolreg is only used in the case where fb_setcmap is called and no fb_ops->fb_setcmap is used. In the drm case we always need a fb_setcmap hook to handle multiple crtcs so we don't need a fb_setcolreg hook. Please apply. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_fb.c')
-rw-r--r--drivers/gpu/drm/i915/intel_fb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c
index cc726ff0a02d..cbb8cb7144c6 100644
--- a/drivers/gpu/drm/i915/intel_fb.c
+++ b/drivers/gpu/drm/i915/intel_fb.c
@@ -56,7 +56,6 @@ static struct fb_ops intelfb_ops = {
.owner = THIS_MODULE,
.fb_check_var = drm_fb_helper_check_var,
.fb_set_par = drm_fb_helper_set_par,
- .fb_setcolreg = drm_fb_helper_setcolreg,
.fb_fillrect = cfb_fillrect,
.fb_copyarea = cfb_copyarea,
.fb_imageblit = cfb_imageblit,