mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
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:
parent
f2eda34716
commit
8fc323e440
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user