OSDN Git Service

drm/i915: make intel_uc_fw.h self-contained
authorJani Nikula <jani.nikula@intel.com>
Wed, 26 Jun 2019 14:40:19 +0000 (17:40 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 27 Jun 2019 07:50:54 +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-13-jani.nikula@intel.com
drivers/gpu/drm/i915/Makefile.header-test
drivers/gpu/drm/i915/intel_uc_fw.h

index 4aa588d..2fd6186 100644 (file)
@@ -26,6 +26,7 @@ header_test := \
        intel_pm.h \
        intel_runtime_pm.h \
        intel_sideband.h \
+       intel_uc_fw.h \
        intel_uncore.h \
        intel_wakeref.h
 
index ff98f86..24e6646 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef _INTEL_UC_FW_H_
 #define _INTEL_UC_FW_H_
 
+#include <linux/types.h>
+
 struct drm_printer;
 struct drm_i915_private;