summaryrefslogtreecommitdiff
path: root/linux-core/drm_fb.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2007-05-17 13:19:56 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2007-05-17 13:19:56 +0100
commit2222bd767f9fc02d05ebd0f35a8ceeff2f032c94 (patch)
tree428b330e3e248ae785d4ad009f7fe1dd2b81aff5 /linux-core/drm_fb.c
parent5ce8aaae7251e60c078eda0a21894aae0e1d7a45 (diff)
Fix build problem
Diffstat (limited to 'linux-core/drm_fb.c')
-rw-r--r--linux-core/drm_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_fb.c b/linux-core/drm_fb.c
index 8fd0f620..27d80d7a 100644
--- a/linux-core/drm_fb.c
+++ b/linux-core/drm_fb.c
@@ -92,6 +92,7 @@ static int drmfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
{
struct drmfb_par *par = info->par;
struct drm_device *dev = par->dev;
+ struct drm_framebuffer *fb = par->crtc->fb;
struct drm_display_mode *drm_mode;
struct drm_output *output;
int depth;