summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/armada/armada_plane.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-07-30 13:53:06 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2018-07-30 13:53:06 +0300
commit82c702cb0c041a9a1c69f489d1517235a633fc77 (patch)
treee6cc528b5ef5d014df22a3ada9c9435f69f0fd90 /drivers/gpu/drm/armada/armada_plane.h
parentd701278ada5115c40cd4d58ce0fb1169479c0bf6 (diff)
downloadlinux-82c702cb0c041a9a1c69f489d1517235a633fc77.tar.xz
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_plane.h')
-rw-r--r--drivers/gpu/drm/armada/armada_plane.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/armada/armada_plane.h b/drivers/gpu/drm/armada/armada_plane.h
index 1bd8430992e0..ff4281ba7fad 100644
--- a/drivers/gpu/drm/armada/armada_plane.h
+++ b/drivers/gpu/drm/armada/armada_plane.h
@@ -9,8 +9,7 @@ void armada_drm_plane_cleanup_fb(struct drm_plane *plane,
struct drm_plane_state *old_state);
int armada_drm_plane_atomic_check(struct drm_plane *plane,
struct drm_plane_state *state);
-int armada_drm_plane_init(struct armada_plane *plane);
int armada_drm_primary_plane_init(struct drm_device *drm,
- struct armada_plane *primary);
+ struct drm_plane *primary);
#endif