drm/rockchip: fix error when build rockchip drm as modules

fix build error:
drivers/gpu/drm/rockchip/rockchip_drm_fb.c:
    In function 'rockchip_drm_fb_destroy':
drivers/gpu/drm/rockchip/rockchip_drm_fb.c:74:21:
    error: 'struct rockchip_drm_fb' has no member named 'sgt'

Change-Id: I413391291be21ebf452bde340a788dcf2d1c76d4
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
Mark Yao 2016-09-08 14:02:27 +08:00 committed by Huang, Tao
parent f2eda34716
commit 8fc323e440

View File

@ -71,7 +71,7 @@ static void rockchip_drm_fb_destroy(struct drm_framebuffer *fb)
}
}
#else
WARN_ON(rockchip_fb->sgt);
WARN_ON(rockchip_fb->logo);
#endif
drm_framebuffer_cleanup(fb);