]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Fix power well anonymous union initializers
authorImre Deak <imre.deak@intel.com>
Mon, 6 Aug 2018 09:58:34 +0000 (12:58 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 8 Aug 2018 10:40:51 +0000 (13:40 +0300)
commitae9b06ca067d5c22286c7290553c4b290607a042
tree16b1182233ee1f05f2df62b2018e9ddcd7390956
parent97f0615800041b145b36e00df65526e0fa6927bd
drm/i915/icl: Fix power well anonymous union initializers

Similarly to commit 0a445945be6d
("drm/i915: Work around GCC anonymous union initialization bug")
we need to initialize anonymous unions inside extra braces to work
around a GCC4.4 build error.

v2:
- Fix checkpatch errors in commit log. (Paulo)

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180806095843.13294-2-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c