From: Lucas De Marchi Date: Tue, 30 Jul 2019 18:17:59 +0000 (-0700) Subject: drm/i915: make i915_selftest.h self-contained X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2e8de0879cf662967c850edb4462f73f3baf8794;p=openwrt%2Fstaging%2Fblogic.git drm/i915: make i915_selftest.h self-contained Fix build breakage: In file included from : ./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 Reviewed-by: Chris Wilson Link: https://patchwork.freedesktop.org/patch/msgid/20190730181759.26162-1-lucas.demarchi@intel.com --- diff --git a/drivers/gpu/drm/i915/i915_selftest.h b/drivers/gpu/drm/i915/i915_selftest.h index acdf6eb9e262..4d88205de51b 100644 --- a/drivers/gpu/drm/i915/i915_selftest.h +++ b/drivers/gpu/drm/i915/i915_selftest.h @@ -24,6 +24,8 @@ #ifndef __I915_SELFTEST_H__ #define __I915_SELFTEST_H__ +#include + struct pci_dev; struct drm_i915_private;