File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1359,7 +1359,7 @@ static inline unsigned int drm_crtc_index(const struct drm_crtc *crtc)
1359
1359
* Given a registered CRTC, return the mask bit of that CRTC for an
1360
1360
* encoder's possible_crtcs field.
1361
1361
*/
1362
- static inline uint32_t drm_crtc_mask (struct drm_crtc * crtc )
1362
+ static inline uint32_t drm_crtc_mask (const struct drm_crtc * crtc )
1363
1363
{
1364
1364
return 1 << drm_crtc_index (crtc );
1365
1365
}
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ static inline unsigned int drm_encoder_index(struct drm_encoder *encoder)
189
189
}
190
190
191
191
/* FIXME: We have an include file mess still, drm_crtc.h needs untangling. */
192
- static inline uint32_t drm_crtc_mask (struct drm_crtc * crtc );
192
+ static inline uint32_t drm_crtc_mask (const struct drm_crtc * crtc );
193
193
194
194
/**
195
195
* drm_encoder_crtc_ok - can a given crtc drive a given encoder?
You can’t perform that action at this time.
0 commit comments