diff options
author | Jani Nikula <jani.nikula@intel.com> | 2019-12-19 17:56:51 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2019-12-23 12:38:43 +0200 |
commit | 3531c4023cb5ba6adb38f6904201dc2bca8bb686 (patch) | |
tree | 88d19df9db0d59f6395734ced9f6e6c7048b8d15 /drivers/gpu/drm/i915/selftests/mock_drm.h | |
parent | a6458951750fb43b8fdd3a06aaedff12f9df5e1a (diff) | |
download | linux-3531c4023cb5ba6adb38f6904201dc2bca8bb686.tar.bz2 |
drm/i915/selftests: make mock_drm.h self-contained
Needs i915_drv.h because i915 gets dereferenced.
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-2-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/mock_drm.h')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/mock_drm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/selftests/mock_drm.h b/drivers/gpu/drm/i915/selftests/mock_drm.h index d7f49e149f0c..9916b6f95526 100644 --- a/drivers/gpu/drm/i915/selftests/mock_drm.h +++ b/drivers/gpu/drm/i915/selftests/mock_drm.h @@ -27,7 +27,8 @@ #include <drm/drm_file.h> -struct drm_i915_private; +#include "i915_drv.h" + struct drm_file; struct file; |