mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 01:40:30 +00:00
drm/crtc: constify drm_crtc_index parameter
Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1476113170-13816-1-git-send-email-jani.nikula@intel.com
This commit is contained in:
parent
621a99933c
commit
a5bd451b6e
@ -1342,7 +1342,7 @@ extern void drm_crtc_cleanup(struct drm_crtc *crtc);
|
|||||||
* Given a registered CRTC, return the index of that CRTC within a DRM
|
* Given a registered CRTC, return the index of that CRTC within a DRM
|
||||||
* device's list of CRTCs.
|
* device's list of CRTCs.
|
||||||
*/
|
*/
|
||||||
static inline unsigned int drm_crtc_index(struct drm_crtc *crtc)
|
static inline unsigned int drm_crtc_index(const struct drm_crtc *crtc)
|
||||||
{
|
{
|
||||||
return crtc->index;
|
return crtc->index;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user