summaryrefslogtreecommitdiff
path: root/linux-core/drm_edid.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_edid.c')
-rw-r--r--linux-core/drm_edid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_edid.c b/linux-core/drm_edid.c
index 9acdc8da..a9cf23a1 100644
--- a/linux-core/drm_edid.c
+++ b/linux-core/drm_edid.c
@@ -66,7 +66,7 @@ struct drm_display_mode *drm_mode_std(struct drm_device *dev,
struct drm_display_mode *mode;
int hsize = t->hsize * 8 + 248, vsize;
- mode = drm_crtc_mode_create(dev);
+ mode = drm_mode_create(dev);
if (!mode)
return NULL;
@@ -109,7 +109,7 @@ struct drm_display_mode *drm_mode_detailed(drm_device_t *dev,
return NULL;
}
- mode = drm_crtc_mode_create(dev);
+ mode = drm_mode_create(dev);
if (!mode)
return NULL;