summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arm/hdlcd_drv.h
diff options
context:
space:
mode:
authorNoralf Trønnes2017-12-08 20:37:35 +0100
committerLiviu Dudau2018-07-31 17:31:50 +0200
commit1785dbc412c257879274e8807afd6dfdfe06c47b (patch)
treea668d29c7929cef45599bbfbda1aee95dad41f12 /drivers/gpu/drm/arm/hdlcd_drv.h
parentdrm/arm/hdlcd: Use drm_mode_config_helper_suspend/resume() (diff)
downloadkernel-qcow2-linux-1785dbc412c257879274e8807afd6dfdfe06c47b.tar.gz
kernel-qcow2-linux-1785dbc412c257879274e8807afd6dfdfe06c47b.tar.xz
kernel-qcow2-linux-1785dbc412c257879274e8807afd6dfdfe06c47b.zip
drm/arm/hdlcd: 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: Liviu Dudau <liviu.dudau@arm.com> Cc: Brian Starkey <brian.starkey@arm.com> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Acked-by: Liviu Dudau <liviu.dudau@arm.com> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/hdlcd_drv.h')
-rw-r--r--drivers/gpu/drm/arm/hdlcd_drv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arm/hdlcd_drv.h b/drivers/gpu/drm/arm/hdlcd_drv.h
index 58d75d7e1b20..fd438d177b64 100644
--- a/drivers/gpu/drm/arm/hdlcd_drv.h
+++ b/drivers/gpu/drm/arm/hdlcd_drv.h
@@ -9,7 +9,6 @@
struct hdlcd_drm_private {
void __iomem *mmio;
struct clk *clk;
- struct drm_fbdev_cma *fbdev;
struct drm_crtc crtc;
struct drm_plane *plane;
#ifdef CONFIG_DEBUG_FS