summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gma500/framebuffer.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-12-20 10:22:18 +0000
committerDave Airlie <airlied@redhat.com>2011-12-20 10:22:18 +0000
commit9e38a66171a297f150a0332469ca3f186f2766da (patch)
tree7d6c535dd11f1ec4dc9af809be426b4caecd345a /drivers/staging/gma500/framebuffer.c
parent01f2c7730e188077026c5f766f85f329c7000c54 (diff)
downloadlinux-9e38a66171a297f150a0332469ca3f186f2766da.tar.bz2
staging/gma500: fixup staging code to build following core changes.
This just fixes up the staging code to keep building. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/staging/gma500/framebuffer.c')
-rw-r--r--drivers/staging/gma500/framebuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gma500/framebuffer.c b/drivers/staging/gma500/framebuffer.c
index 7aee4d2cd1d4..b00761cba144 100644
--- a/drivers/staging/gma500/framebuffer.c
+++ b/drivers/staging/gma500/framebuffer.c
@@ -511,7 +511,7 @@ static int psbfb_create(struct psb_fbdev *fbdev,
info->apertures->ranges[0].size = dev_priv->gtt.stolen_size;
}
- drm_fb_helper_fill_fix(info, fb->pitch, fb->depth);
+ drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth);
drm_fb_helper_fill_var(info, &fbdev->psb_fb_helper,
sizes->fb_width, sizes->fb_height);