]> Git Repo - linux.git/commitdiff
drm/crtc: constify drm_crtc_index parameter
authorJani Nikula <[email protected]>
Mon, 10 Oct 2016 15:26:10 +0000 (18:26 +0300)
committerDaniel Vetter <[email protected]>
Mon, 10 Oct 2016 15:28:58 +0000 (17:28 +0200)
Signed-off-by: Jani Nikula <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
include/drm/drm_crtc.h

index 61932f55f7880db2001407ecd145cb819924e59b..0aa292526567abd211b688641178af5ce5bff8a0 100644 (file)
@@ -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
  * 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;
 }
This page took 0.053572 seconds and 4 git commands to generate.