summaryrefslogtreecommitdiff
path: root/patches/0027-genl-const/genl-const.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0027-genl-const/genl-const.cocci')
-rw-r--r--patches/0027-genl-const/genl-const.cocci10
1 files changed, 10 insertions, 0 deletions
diff --git a/patches/0027-genl-const/genl-const.cocci b/patches/0027-genl-const/genl-const.cocci
new file mode 100644
index 00000000..36c71d62
--- /dev/null
+++ b/patches/0027-genl-const/genl-const.cocci
@@ -0,0 +1,10 @@
+@@
+attribute __genl_const;
+@@
+(
+-const struct genl_multicast_group
++__genl_const struct genl_multicast_group
+|
+-const struct genl_ops
++__genl_const struct genl_ops
+)