diff options
Diffstat (limited to 'scripts/kernel-doc')
| -rwxr-xr-x | scripts/kernel-doc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 88e3934a8b8c..ff787e6ff8ed 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
| @@ -1403,7 +1403,7 @@ sub dump_struct($$) { | |||
| 1403 | my $members = $3; | 1403 | my $members = $3; |
| 1404 | 1404 | ||
| 1405 | # ignore embedded structs or unions | 1405 | # ignore embedded structs or unions |
| 1406 | $members =~ s/{.*?}//g; | 1406 | $members =~ s/{.*}//g; |
| 1407 | 1407 | ||
| 1408 | # ignore members marked private: | 1408 | # ignore members marked private: |
| 1409 | $members =~ s/\/\*.*?private:.*?public:.*?\*\///gos; | 1409 | $members =~ s/\/\*.*?private:.*?public:.*?\*\///gos; |
| @@ -1643,6 +1643,7 @@ sub dump_function($$) { | |||
| 1643 | $prototype =~ s/^__always_inline +//; | 1643 | $prototype =~ s/^__always_inline +//; |
| 1644 | $prototype =~ s/^noinline +//; | 1644 | $prototype =~ s/^noinline +//; |
| 1645 | $prototype =~ s/__devinit +//; | 1645 | $prototype =~ s/__devinit +//; |
| 1646 | $prototype =~ s/__init +//; | ||
| 1646 | $prototype =~ s/^#define\s+//; #ak added | 1647 | $prototype =~ s/^#define\s+//; #ak added |
| 1647 | $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//; | 1648 | $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//; |
| 1648 | 1649 | ||
