summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/armada/armada_crtc.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-07-30 12:53:06 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2018-07-30 12:53:06 +0200
commit82c702cb0c041a9a1c69f489d1517235a633fc77 (patch)
treee6cc528b5ef5d014df22a3ada9c9435f69f0fd90 /drivers/gpu/drm/armada/armada_crtc.h
parentdrm/armada: remove unnecessary armada_ovl_plane structure (diff)
downloadlinux-82c702cb0c041a9a1c69f489d1517235a633fc77.tar.xz
linux-82c702cb0c041a9a1c69f489d1517235a633fc77.zip
drm/armada: remove unnecessary armada_plane structure
We no longer require a private armada_plane structure, so eliminate it, and use the drm_plane structure directly. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_crtc.h')
-rw-r--r--drivers/gpu/drm/armada/armada_crtc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/armada/armada_crtc.h b/drivers/gpu/drm/armada/armada_crtc.h
index b95ea13d0705..7ebd337b60af 100644
--- a/drivers/gpu/drm/armada/armada_crtc.h
+++ b/drivers/gpu/drm/armada/armada_crtc.h
@@ -32,15 +32,8 @@ struct armada_regs {
armada_reg_queue_mod(_r, _i, 0, 0, ~0)
struct armada_crtc;
-struct armada_plane;
struct armada_variant;
-struct armada_plane {
- struct drm_plane base;
- wait_queue_head_t frame_wait;
-};
-#define drm_to_armada_plane(p) container_of(p, struct armada_plane, base)
-
struct armada_crtc {
struct drm_crtc crtc;
const struct armada_variant *variant;