summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_sdvo.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2015-03-27 00:20:19 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-04-01 14:11:32 +0200
commit988c70156ce1ae146e4105a3d21ec16c5894162b (patch)
treecf22c114e2c5bc5b6a5f1e8c8c321ff080d5e93d /drivers/gpu/drm/i915/intel_sdvo.c
parentdbe4646d6e3467adbe2ec8dbe6b7ceea57dee2ec (diff)
downloadop-kernel-dev-988c70156ce1ae146e4105a3d21ec16c5894162b.zip
op-kernel-dev-988c70156ce1ae146e4105a3d21ec16c5894162b.tar.gz
drm/i915: rename GMBUS_PORT_* macros as GMBUS_PIN_*
The specs refer to pin pairs. Start moving towards using pin rather than port all around to avoid confusion. No functional changes. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
-rw-r--r--drivers/gpu/drm/i915/intel_sdvo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index f5b7e1e..3e0e9b0 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -2294,7 +2294,7 @@ intel_sdvo_select_i2c_bus(struct drm_i915_private *dev_priv,
if (mapping->initialized && intel_gmbus_is_port_valid(mapping->i2c_pin))
pin = mapping->i2c_pin;
else
- pin = GMBUS_PORT_DPB;
+ pin = GMBUS_PIN_DPB;
sdvo->i2c = intel_gmbus_get_adapter(dev_priv, pin);
OpenPOWER on IntegriCloud