aboutsummaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2007-04-18 12:19:16 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2007-04-18 12:19:16 +0100
commit0207b51acce0382b2e3cf55ed7dbbe02e48c73b2 (patch)
tree1b6508f6bd94a4833f1c6e5e8298d9f8a2d5cf1c /linux-core
parent87b46bd436074572b3a62e2fb7ec85a1db8df892 (diff)
Fix build problem
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 16bbd9b6..02325520 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -194,7 +194,7 @@ void drm_crtc_probe_output_modes(struct drm_device *dev, int maxX, int maxY)
* 640x480@60Hz mode and carry on.
*/
stdmode = drm_mode_duplicate(dev, &std_mode[0]);
- drm_mode_probed_add(output, newmode);
+ drm_mode_probed_add(output, stdmode);
drm_mode_list_concat(&output->probed_modes,
&output->modes);
drm_crtc_mode_destroy(dev, stdmode);