summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;