Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
{
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) {
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);