projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a645895
)
drm/i915/selftests: make mock_drm.h self-contained
author
Jani Nikula
<jani.nikula@intel.com>
Thu, 19 Dec 2019 15:56:51 +0000
(17:56 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Mon, 23 Dec 2019 10:38:43 +0000
(12:38 +0200)
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
drivers/gpu/drm/i915/selftests/mock_drm.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/selftests/mock_drm.h
b/drivers/gpu/drm/i915/selftests/mock_drm.h
index d7f49e149f0c067d32ee8db0d0df5d42fdb3c85f..9916b6f955260f6ecb742d4375cfdfbb90c929dd 100644
(file)
--- 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;