Fix build problem
authorAlan Hourihane <alanh@fairlite.demon.co.uk>
Thu, 17 May 2007 12:19:56 +0000 (13:19 +0100)
committerAlan Hourihane <alanh@fairlite.demon.co.uk>
Thu, 17 May 2007 12:19:56 +0000 (13:19 +0100)
linux-core/drm_fb.c

index 8fd0f62..27d80d7 100644 (file)
@@ -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;