lkml.org 
[lkml]   [2011]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 31/49] gma500: tidy the framebuffer fixme and oddments
    Date
    From: Alan Cox <alan@linux.intel.com>

    Signed-off-by: Alan Cox <alan@linux.intel.com>
    ---

    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);


    \
     
     \ /
      Last update: 2011-07-05 16:53    [W:0.018 / U:60.308 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site