diff options
author | Jani Nikula <jani.nikula@intel.com> | 2019-05-22 13:35:05 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2019-05-23 15:46:42 +0300 |
commit | 09a93ef3d60f5a439613cd6a806bba265c3663ed (patch) | |
tree | efb053af1d86239909315e1cca75551c2b6b8703 /drivers/gpu/drm/i915/Makefile.header-test | |
parent | cfc0e7bbf41baad26ad32bacd43bdab0be6b44d8 (diff) |
drm/i915: remove duplicate typedef for intel_wakeref_t
Fix the duplicate typedef for intel_wakeref_t leading to Clang build
issues. While at it, actually make the intel_runtime_pm.h header
self-contained, which was claimed in the commit being fixed.
Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
References: http://mid.mail-archive.com/20190521183850.GA9157@archlinux-epyc
References: https://travis-ci.com/ClangBuiltLinux/continuous-integration/jobs/201754420#L2435
Fixes: 0d5adc5f2f01 ("drm/i915: extract intel_runtime_pm.h from intel_drv.h")
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190522103505.2082-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/Makefile.header-test')
-rw-r--r-- | drivers/gpu/drm/i915/Makefile.header-test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/Makefile.header-test b/drivers/gpu/drm/i915/Makefile.header-test index 2ca4a5fa3186..3a9663002d4a 100644 --- a/drivers/gpu/drm/i915/Makefile.header-test +++ b/drivers/gpu/drm/i915/Makefile.header-test @@ -55,6 +55,7 @@ header_test := \ intel_pm.h \ intel_psr.h \ intel_quirks.h \ + intel_runtime_pm.h \ intel_sdvo.h \ intel_sideband.h \ intel_sprite.h \ |