diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-04-02 18:28:07 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-10 08:55:55 +0200 |
commit | c929cb4524a304cb366854836ef7baf501ef6d06 (patch) | |
tree | 184cf2ebf3681e0cf2745ff62738f4d4534b2c42 /drivers/gpu/drm/i915/intel_pm.c | |
parent | ea9da4e4608104108c6d5eca7b178cec2720ab22 (diff) | |
download | lwn-c929cb4524a304cb366854836ef7baf501ef6d06.tar.gz lwn-c929cb4524a304cb366854836ef7baf501ef6d06.zip |
drm/i915: Silence a sparse warning
../drivers/gpu/drm/i915/intel_pm.c:3185:45: warning: Initializer entry defined twice
../drivers/gpu/drm/i915/intel_pm.c:3185:52: also defined here
Signed-off-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_pm.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index e1392e79c5c4..cd91407e1f93 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -3178,7 +3178,7 @@ static void skl_flush_wm_values(struct drm_i915_private *dev_priv, { struct drm_device *dev = dev_priv->dev; struct skl_ddb_allocation *cur_ddb, *new_ddb; - bool reallocated[I915_MAX_PIPES] = {false, false, false}; + bool reallocated[I915_MAX_PIPES] = {}; struct intel_crtc *crtc; enum pipe pipe; |