summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-02-13 03:49:01 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-02-13 03:49:01 +0000
commitd219a021f02063b756f7ccdf10455fc33bc48b40 (patch)
tree3d34dce22b721e55d188d9134990b5f9e8ade133 /sys
parent9f849d1562250fe1a62f29184f46d2e90aae3c2e (diff)
drm/i915/sdvo: Use &intel_sdvo->ddc instead of intel_sdvo->i2c for DDC.
From Egbert Eich aee389b0e2e0d99c1ac779804fc46c2921b405d6 in ubuntu 3.8 53d3b4d7778daf15900867336c85d3f8dd70600c in mainline linux
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/i915/intel_sdvo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/intel_sdvo.c b/sys/dev/pci/drm/i915/intel_sdvo.c
index d92daa8771b..e72cef53f92 100644
--- a/sys/dev/pci/drm/i915/intel_sdvo.c
+++ b/sys/dev/pci/drm/i915/intel_sdvo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intel_sdvo.c,v 1.13 2014/01/22 05:16:55 kettenis Exp $ */
+/* $OpenBSD: intel_sdvo.c,v 1.14 2014/02/13 03:49:00 jsg Exp $ */
/*
* Copyright 2006 Dave Airlie <airlied@linux.ie>
* Copyright © 2006-2007 Intel Corporation
@@ -1771,7 +1771,7 @@ static void intel_sdvo_get_lvds_modes(struct drm_connector *connector)
* Assume that the preferred modes are
* arranged in priority order.
*/
- intel_ddc_get_modes(connector, intel_sdvo->i2c);
+ intel_ddc_get_modes(connector, &intel_sdvo->ddc);
if (list_empty(&connector->probed_modes) == false)
goto end;