diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2016-10-13 10:38:11 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-10-17 08:12:05 +0200 |
commit | 1dfdb0ed34b28b086ffc1f9fb9f538ab60298029 (patch) | |
tree | e1ea3c30c11a6ad299225b3a7275f50d020ce89b /include/drm/drm_encoder.h | |
parent | d807ed1c55fb1b2dcfb2bc49385e227f6bee7669 (diff) | |
download | linux-stable-1dfdb0ed34b28b086ffc1f9fb9f538ab60298029.tar.gz linux-stable-1dfdb0ed34b28b086ffc1f9fb9f538ab60298029.tar.bz2 linux-stable-1dfdb0ed34b28b086ffc1f9fb9f538ab60298029.zip |
drm/crtc: constify drm_crtc_mask parameter
Now that drm_crtc_index takes a const, the same can be done for drm_crtc_mask.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/6e32d013-6fee-34ad-f8d2-59139f3dc4c1@linux.intel.com
Diffstat (limited to 'include/drm/drm_encoder.h')
-rw-r--r-- | include/drm/drm_encoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_encoder.h b/include/drm/drm_encoder.h index 387e33a4d6ee..c7438ff0d609 100644 --- a/include/drm/drm_encoder.h +++ b/include/drm/drm_encoder.h @@ -189,7 +189,7 @@ static inline unsigned int drm_encoder_index(struct drm_encoder *encoder) } /* FIXME: We have an include file mess still, drm_crtc.h needs untangling. */ -static inline uint32_t drm_crtc_mask(struct drm_crtc *crtc); +static inline uint32_t drm_crtc_mask(const struct drm_crtc *crtc); /** * drm_encoder_crtc_ok - can a given crtc drive a given encoder? |