]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: make i915_vgpu.h self-contained
authorJani Nikula <jani.nikula@intel.com>
Wed, 26 Jun 2019 14:40:14 +0000 (17:40 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 27 Jun 2019 07:50:38 +0000 (10:50 +0300)
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
drivers/gpu/drm/i915/Makefile.header-test
drivers/gpu/drm/i915/i915_vgpu.h

index c5f3e4703f721b89eb0576d576b5ab2ed331dbc0..1c2d426ea9135663429b016e1d928829b1c143ab 100644 (file)
@@ -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 \
index 8dd7497eda15475d06e04199b3130c22ab6c0c06..8b3663dad193f750b342e35dbb9e6d2d112cf791 100644 (file)
@@ -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);