summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tve200/tve200_drm.h
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-11-15 15:19:55 +0100
committerNoralf Trønnes <noralf@tronnes.org>2017-12-08 14:47:42 +0100
commit4f054fcf4779a70888a397aa2e5a662e72e9b9e8 (patch)
treeed3097f6ec2f8fb064b383a588a926fb037a62f0 /drivers/gpu/drm/tve200/tve200_drm.h
parent50b45f2137243712e8d7e0c3abcc700827fed0db (diff)
drm/tve200: Use drm_fb_cma_fbdev_init/fini()
Use drm_fb_cma_fbdev_init() and drm_fb_cma_fbdev_fini() which relies on the fact that drm_device holds a pointer to the drm_fb_helper structure. This means that the driver doesn't have to keep track of that. Also use the drm_fb_helper functions directly. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20171115142001.45358-17-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/tve200/tve200_drm.h')
-rw-r--r--drivers/gpu/drm/tve200/tve200_drm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tve200/tve200_drm.h b/drivers/gpu/drm/tve200/tve200_drm.h
index 628b79324c48..5c270055bd58 100644
--- a/drivers/gpu/drm/tve200/tve200_drm.h
+++ b/drivers/gpu/drm/tve200/tve200_drm.h
@@ -103,7 +103,6 @@ struct tve200_drm_dev_private {
struct drm_panel *panel;
struct drm_bridge *bridge;
struct drm_simple_display_pipe pipe;
- struct drm_fbdev_cma *fbdev;
void *regs;
struct clk *pclk;