svn commit: r280187 - head/sys/dev/drm2
Gleb Smirnoff
glebius at FreeBSD.org
Tue Mar 17 19:13:13 UTC 2015
Author: glebius
Date: Tue Mar 17 19:13:11 2015
New Revision: 280187
URL: https://svnweb.freebsd.org/changeset/base/280187
Log:
Fix build.
Reviewed by: dumbbell
Modified:
head/sys/dev/drm2/drm_edid.c
Modified: head/sys/dev/drm2/drm_edid.c
==============================================================================
--- head/sys/dev/drm2/drm_edid.c Tue Mar 17 19:10:51 2015 (r280186)
+++ head/sys/dev/drm2/drm_edid.c Tue Mar 17 19:13:11 2015 (r280187)
@@ -1536,11 +1536,11 @@ EXPORT_SYMBOL(drm_find_cea_extension);
*/
u8 drm_match_cea_mode(struct drm_display_mode *to_match)
{
- struct drm_display_mode *cea_mode;
+ const struct drm_display_mode *cea_mode;
u8 mode;
for (mode = 0; mode < drm_num_cea_modes; mode++) {
- cea_mode = (struct drm_display_mode *)&edid_cea_modes[mode];
+ cea_mode = (const struct drm_display_mode *)&edid_cea_modes[mode];
if (drm_mode_equal(to_match, cea_mode))
return mode + 1;
More information about the svn-src-all
mailing list