summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-12-19 17:56:50 +0200
committerJani Nikula <jani.nikula@intel.com>2019-12-23 12:38:34 +0200
commita6458951750fb43b8fdd3a06aaedff12f9df5e1a (patch)
tree010742b15445ddf51433163daa04ad2bd287b369 /drivers
parentf7fd23735f926f0161d03c5d1013626ff92c70a0 (diff)
drm/i915/selftests: make mock_context.h self-contained
Fix the forward declaration. Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> 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/20191219155652.2666-1-jani.nikula@intel.com
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/gem/selftests/mock_context.h2
1 files changed, 1 insertions, 1 deletions
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);