diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-07 19:26:51 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-07 20:13:07 +0200 |
commit | 526b88483183efa68ad692c473c1a434f4d2314d (patch) | |
tree | 67167bba51ffdf4564a90e787b819f4b5286f2de /Documentation/sphinx/parse-headers.pl | |
parent | doc-rst: parse-headers: better handle comments at the source code (diff) | |
download | linux-526b88483183efa68ad692c473c1a434f4d2314d.tar.xz linux-526b88483183efa68ad692c473c1a434f4d2314d.zip |
doc-rst: parse-headers: add an option to ignore enum symbols
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>
Diffstat (limited to 'Documentation/sphinx/parse-headers.pl')
-rwxr-xr-x | Documentation/sphinx/parse-headers.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/sphinx/parse-headers.pl b/Documentation/sphinx/parse-headers.pl index fc18eac1552c..16ea28b0d2e1 100755 --- a/Documentation/sphinx/parse-headers.pl +++ b/Documentation/sphinx/parse-headers.pl @@ -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 |