summaryrefslogtreecommitdiff
path: root/util/i915tool/spatches/drm_crtc.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'util/i915tool/spatches/drm_crtc.cocci')
-rw-r--r--util/i915tool/spatches/drm_crtc.cocci32
1 files changed, 32 insertions, 0 deletions
diff --git a/util/i915tool/spatches/drm_crtc.cocci b/util/i915tool/spatches/drm_crtc.cocci
new file mode 100644
index 0000000000..662f25316c
--- /dev/null
+++ b/util/i915tool/spatches/drm_crtc.cocci
@@ -0,0 +1,32 @@
+@@
+identifier s;
+identifier head;
+@@
+struct s {...
+- struct list_head head;
+...};
+@@
+@@
+-#include <...>
+@@
+@@
+(
+-struct drm_crtc_funcs{...};
+|
+-struct drm_crtc{...};
+|
+-struct drm_connector_funcs{...};
+|
+-struct drm_encoder_funcs{...};
+|
+-struct drm_encoder{...};
+|
+-struct drm_connector{...};
+|
+-struct drm_mode_config_funcs{...};
+|
+-struct drm_mode_config{...};
+|
+-struct drm_framebuffer_funcs{...};
+)
+