[Intel-gfx] [PATCH 1/3] drm/i915/selftests: make mock_context.h self-contained

Jani Nikula jani.nikula at intel.com
Thu Dec 19 15:56:50 UTC 2019


Fix the forward declaration.

Cc: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 drivers/gpu/drm/i915/gem/selftests/mock_context.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gem/selftests/mock_context.h b/drivers/gpu/drm/i915/gem/selftests/mock_context.h
index c858db2362f1..fb83d2f09212 100644
--- a/drivers/gpu/drm/i915/gem/selftests/mock_context.h
+++ b/drivers/gpu/drm/i915/gem/selftests/mock_context.h
@@ -7,7 +7,7 @@
 #ifndef __MOCK_CONTEXT_H
 #define __MOCK_CONTEXT_H
 
-struct drm_file;
+struct file;
 struct drm_i915_private;
 
 void mock_init_contexts(struct drm_i915_private *i915);
-- 
2.20.1



More information about the Intel-gfx mailing list