summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/misc/altera_sequencer.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/coccinelle/misc/altera_sequencer.cocci')
-rw-r--r--scripts/coccinelle/misc/altera_sequencer.cocci3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/coccinelle/misc/altera_sequencer.cocci b/scripts/coccinelle/misc/altera_sequencer.cocci
index 9fea239c0c..2350e841c0 100644
--- a/scripts/coccinelle/misc/altera_sequencer.cocci
+++ b/scripts/coccinelle/misc/altera_sequencer.cocci
@@ -1,7 +1,8 @@
@r_shadow@
+type T;
@@
-- ...curr_shadow_reg = 0;
+- static T curr_shadow_reg = 0;
@r_out2_delay@
type T;