commit | d048a2684a413b33a28be277a7e9cee960ec8bb2 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Aug 21 20:30:31 2019 +0300 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Aug 23 21:36:01 2019 +0300 |
tree | d4bb5fd03e5bc2f2e0daa16e4cb241298451fa8e | |
parent | e8edae54c593bc9aea949fbf6b2a59fe53cd5d83 [diff] [blame] |
drm/i915: Use enum pipe consistently Replace all "int pipe"s with "enum pipe pipe"s to make it clear what we're dealing with. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190821173033.24123-3-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 09f29a3..437cd50 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -8858,7 +8858,7 @@ static void ilk_init_clock_gating(struct drm_i915_private *dev_priv) static void cpt_init_clock_gating(struct drm_i915_private *dev_priv) { - int pipe; + enum pipe pipe; u32 val; /*