From 8fc323e440405bdc63d64a28d2d009087be95530 Mon Sep 17 00:00:00 2001 From: Mark Yao Date: Thu, 8 Sep 2016 14:02:27 +0800 Subject: [PATCH] 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 --- drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c index 9be5be58c2c8..22dd5bcefda9 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c @@ -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); -- 2.34.1