]> git.karo-electronics.de Git - linux-beck.git/commitdiff
doc-rst: parse-headers: add an option to ignore enum symbols
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 17:26:51 +0000 (14:26 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 18:13:07 +0000 (15:13 -0300)
At videodev2.h, we have hundreds of symbols that don't
currently have a reference yet. Let's ignore for how, while
we don't improve those cross-refs.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/sphinx/parse-headers.pl

index fc18eac1552cde9283eb7ad5a6de53e237f3d06f..16ea28b0d2e19978f9c0f5a5d6ecea9faa429829 100755 (executable)
@@ -163,6 +163,10 @@ if ($file_exceptions) {
                        delete $structs{$1} if (exists($structs{$1}));
                        next;
                }
+               if (m/^ignore\s+symbol\s+(\S+)/) {
+                       delete $enum_symbols{$1} if (exists($enum_symbols{$1}));
+                       next;
+               }
 
                # Parsers to replace a symbol