diff options
author | Alan Cox <alan@linux.intel.com> | 2011-07-05 14:40:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-05 15:20:42 (GMT) |
commit | 1ff6d5fe7c06937c250ed1644077ac0ad74d8aa4 (patch) | |
tree | 1d53a4676a67c900bed728acdae3b9bc4cd0ddc1 | |
parent | 35efdaeffce2232a603596631d15f1fff028dbf6 (diff) | |
download | linux-fsl-qoriq-1ff6d5fe7c06937c250ed1644077ac0ad74d8aa4.tar.xz |
gma500: tidy the framebuffer fixme and oddments
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/gma500/psb_fb.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/gma500/psb_fb.c b/drivers/staging/gma500/psb_fb.c index 349fff8..17c3cf6 100644 --- a/drivers/staging/gma500/psb_fb.c +++ b/drivers/staging/gma500/psb_fb.c @@ -591,7 +591,6 @@ int psb_fbdev_init(struct drm_device *dev) { struct psb_fbdev *fbdev; struct drm_psb_private *dev_priv = dev->dev_private; - int num_crtc; fbdev = kzalloc(sizeof(struct psb_fbdev), GFP_KERNEL); if (!fbdev) { @@ -602,10 +601,7 @@ int psb_fbdev_init(struct drm_device *dev) dev_priv->fbdev = fbdev; fbdev->psb_fb_helper.funcs = &psb_fb_helper_funcs; - /* FIXME: check Medfield */ - num_crtc = 2; - - drm_fb_helper_init(dev, &fbdev->psb_fb_helper, num_crtc, + drm_fb_helper_init(dev, &fbdev->psb_fb_helper, 2, INTELFB_CONN_LIMIT); drm_fb_helper_single_add_all_connectors(&fbdev->psb_fb_helper); |