projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
621a999
)
drm/crtc: constify drm_crtc_index parameter
author
Jani Nikula
<jani.nikula@intel.com>
Mon, 10 Oct 2016 15:26:10 +0000
(18:26 +0300)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 10 Oct 2016 15:28:58 +0000
(17:28 +0200)
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
include/drm/drm_crtc.h
patch
|
blob
|
history
diff --git
a/include/drm/drm_crtc.h
b/include/drm/drm_crtc.h
index 61932f55f7880db2001407ecd145cb819924e59b..0aa292526567abd211b688641178af5ce5bff8a0 100644
(file)
--- a/
include/drm/drm_crtc.h
+++ b/
include/drm/drm_crtc.h
@@
-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;
}