drm/ast: Replace struct ast_crtc with struct drm_crtc

Struct ast_crtc has been cleaned up and it's now a wrapper around the
DRM CRTC structure struct drm_crtc. This patch converts the driver to
struct drm_crtc and removes struct ast_crtc.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200702115029.5281-13-tzimmermann@suse.de
This commit is contained in:
Thomas Zimmermann 2020-07-02 13:50:27 +02:00
parent 6bb18c9be6
commit c35da0ed48
2 changed files with 6 additions and 10 deletions

View file

@ -238,11 +238,6 @@ struct ast_connector {
struct ast_i2c_chan *i2c;
};
struct ast_crtc {
struct drm_crtc base;
};
#define to_ast_crtc(x) container_of(x, struct ast_crtc, base)
#define to_ast_connector(x) container_of(x, struct ast_connector, base)
struct ast_vbios_stdtable {