summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sun4i/sun4i_drv.h
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-11-15 17:19:53 +0300
committerNoralf Trønnes <noralf@tronnes.org>2017-12-08 16:47:42 +0300
commit22efc85b6ca5c2df26fc6fcba1d049927f0a0557 (patch)
treea948e7b1c0169c7c1e0a13f1101044bd866ec90d /drivers/gpu/drm/sun4i/sun4i_drv.h
parent068b393c1a13ec98b44224700939db023a6d34ac (diff)
downloadlinux-22efc85b6ca5c2df26fc6fcba1d049927f0a0557.tar.xz
drm/sun4i: 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: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171115142001.45358-15-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_drv.h')
-rw-r--r--drivers/gpu/drm/sun4i/sun4i_drv.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.h b/drivers/gpu/drm/sun4i/sun4i_drv.h
index a960c89270cc..2825f140da54 100644
--- a/drivers/gpu/drm/sun4i/sun4i_drv.h
+++ b/drivers/gpu/drm/sun4i/sun4i_drv.h
@@ -20,8 +20,6 @@
struct sun4i_drv {
struct list_head engine_list;
struct list_head tcon_list;
-
- struct drm_fbdev_cma *fbdev;
};
#endif /* _SUN4I_DRV_H_ */