diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dvo.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dvo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dvo.c b/drivers/gpu/drm/i915/intel_dvo.c index 447cdc76c960..bfedea3826d7 100644 --- a/drivers/gpu/drm/i915/intel_dvo.c +++ b/drivers/gpu/drm/i915/intel_dvo.c | |||
@@ -502,7 +502,7 @@ void intel_dvo_init(struct drm_device *dev) | |||
502 | * special cases, but otherwise default to what's defined | 502 | * special cases, but otherwise default to what's defined |
503 | * in the spec. | 503 | * in the spec. |
504 | */ | 504 | */ |
505 | if (intel_gmbus_is_port_valid(dvo->gpio)) | 505 | if (intel_gmbus_is_valid_pin(dvo->gpio)) |
506 | gpio = dvo->gpio; | 506 | gpio = dvo->gpio; |
507 | else if (dvo->type == INTEL_DVO_CHIP_LVDS) | 507 | else if (dvo->type == INTEL_DVO_CHIP_LVDS) |
508 | gpio = GMBUS_PIN_SSC; | 508 | gpio = GMBUS_PIN_SSC; |