drm/i915: make i915_selftest.h self-contained
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 30 Jul 2019 18:17:59 +0000 (11:17 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 30 Jul 2019 20:41:35 +0000 (13:41 -0700)
Fix build breakage:

In file included from <command-line>:
./drivers/gpu/drm/i915/i915_selftest.h:125:1: error: unknown type name ‘bool’
  125 | bool __igt_timeout(unsigned long timeout, const char *fmt, ...);
      | ^~~~

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190730181759.26162-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_selftest.h

index acdf6eb9e262fa69f5c08ba0967cc6b0c57c7181..4d88205de51b0f25e85380bad4ff76b2807e3d70 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef __I915_SELFTEST_H__
 #define __I915_SELFTEST_H__
 
+#include <linux/types.h>
+
 struct pci_dev;
 struct drm_i915_private;