diff options
author | Jani Nikula <jani.nikula@intel.com> | 2019-06-26 17:40:14 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2019-06-27 10:50:38 +0300 |
commit | 961ebc9dd1f56e84dc4ef0aec2d05f63aefc898f (patch) | |
tree | 64b110cc4e9d4923f6e4b6f3aba458cb0809a75e /drivers/gpu | |
parent | f8daf6418e3041ac967b45fc066539ba1eec5132 (diff) | |
download | linux-961ebc9dd1f56e84dc4ef0aec2d05f63aefc898f.tar.xz |
drm/i915: make i915_vgpu.h self-contained
Add the minimal includes/declarations to make the header self-contained,
and ensure it stays that way.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190626144020.2155-8-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/Makefile.header-test | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_vgpu.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/Makefile.header-test b/drivers/gpu/drm/i915/Makefile.header-test index c5f3e4703f72..1c2d426ea913 100644 --- a/drivers/gpu/drm/i915/Makefile.header-test +++ b/drivers/gpu/drm/i915/Makefile.header-test @@ -16,6 +16,7 @@ header_test := \ i915_reg.h \ i915_scheduler_types.h \ i915_utils.h \ + i915_vgpu.h \ intel_csr.h \ intel_drv.h \ intel_pm.h \ diff --git a/drivers/gpu/drm/i915/i915_vgpu.h b/drivers/gpu/drm/i915/i915_vgpu.h index 8dd7497eda15..8b3663dad193 100644 --- a/drivers/gpu/drm/i915/i915_vgpu.h +++ b/drivers/gpu/drm/i915/i915_vgpu.h @@ -24,6 +24,7 @@ #ifndef _I915_VGPU_H_ #define _I915_VGPU_H_ +#include "i915_drv.h" #include "i915_pvinfo.h" void i915_detect_vgpu(struct drm_i915_private *dev_priv); |