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 4aa588d314a07cd09d4f5a61dfc132ad378d3dcd..2fd61869bdaa28f9d6117cd0b15a87b97c608ad4 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 ff98f8661d72f3981cdd83d29ebbc9e228658ba3..24e66469153cbbf089475af82278db6af4620f08 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;