diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2017-01-09 14:25:45 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-01-18 17:21:13 +0300 |
commit | c77b9abf3c5ae86dcb0e414d55d42fb213e51b2a (patch) | |
tree | 055c1d916e2d54c75bc542af5f70e67289b51174 /drivers/gpu/drm/vc4/vc4_drv.h | |
parent | 75bcb0545b56eab2d69dbccf95ff7505b7114e5d (diff) | |
download | linux-c77b9abf3c5ae86dcb0e414d55d42fb213e51b2a.tar.xz |
drm: vc4: use crtc helper drm_crtc_from_index()
Use drm_crtc_from_index() to find drm_crtc for given index, so that we
do not need to maintain a pointer array in struct vc4_dev.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1483961145-18453-7-git-send-email-shawnguo@kernel.org
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_drv.h')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_drv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_drv.h b/drivers/gpu/drm/vc4/vc4_drv.h index 489956efbff8..affcdeb70aa9 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.h +++ b/drivers/gpu/drm/vc4/vc4_drv.h @@ -16,7 +16,6 @@ struct vc4_dev { struct vc4_hdmi *hdmi; struct vc4_hvs *hvs; - struct vc4_crtc *crtc[3]; struct vc4_v3d *v3d; struct vc4_dpi *dpi; struct vc4_vec *vec; |