diff options
author | Imre Deak <[email protected]> | 2017-08-14 18:15:29 +0300 |
---|---|---|
committer | Imre Deak <[email protected]> | 2017-08-15 14:31:52 +0300 |
commit | 0a445945be6d10c5e6fd5599a27e43b6a7fdf14d (patch) | |
tree | 904295c702b6f7c8b8c6bb44671b4bcdfb128914 /tools/perf/scripts/python | |
parent | baa68f6e5b6674f6d5b9e5bf7f358104d15d4067 (diff) |
drm/i915: Work around GCC anonymous union initialization bug
GCC 4.4 can't cope with anonymous union initializers which seems to be a
bug in that version (see the Reference) and is fixed since GCC version
4.6. A workaround which is also used elsewhere in the kernel for the
same purpose is to wrap the initialization in curly braces, so do the
same here.
Fixes: b5565a2efc12 ("drm/i915/bxt, glk: Give a proper name to the power well struct phy field")
Reference: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676
Reported-by: Fengguang Wu <[email protected]>
Cc: Arkadiusz Hiler <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions