aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sti/sti_drv.h
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-11-15 15:19:51 +0100
committerNoralf Trønnes <noralf@tronnes.org>2017-12-08 14:47:41 +0100
commit53889c92fde989e71f5bd01b227d58cd92010128 (patch)
treec2ce6b5e3f2fe8a8818a151bb4a5b501c29caf2f /drivers/gpu/drm/sti/sti_drv.h
parentdrm/pl111: Use drm_fb_cma_fbdev_init/fini() (diff)
downloadlinux-dev-53889c92fde989e71f5bd01b227d58cd92010128.tar.xz
linux-dev-53889c92fde989e71f5bd01b227d58cd92010128.zip
drm/sti: 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: Benjamin Gaignard <benjamin.gaignard@linaro.org> Cc: Vincent Abriou <vincent.abriou@st.com> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20171115142001.45358-13-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/sti/sti_drv.h')
-rw-r--r--drivers/gpu/drm/sti/sti_drv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sti/sti_drv.h b/drivers/gpu/drm/sti/sti_drv.h
index abc49b43566e..4b41142a22e4 100644
--- a/drivers/gpu/drm/sti/sti_drv.h
+++ b/drivers/gpu/drm/sti/sti_drv.h
@@ -24,7 +24,6 @@ struct sti_private {
struct sti_compositor *compo;
struct drm_property *plane_zorder_property;
struct drm_device *drm_dev;
- struct drm_fbdev_cma *fbdev;
};
extern struct platform_driver sti_tvout_driver;