]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/kernel-doc
Driver core: make uevent-environment available in uevent-file
[linux-2.6-omap-h63xx.git] / scripts / kernel-doc
index fb43c6440e5484abeeb4d8a2d076fe6d030901ad..8be269ffbf9d4f8159ca7a49a589f879a3d38583 100755 (executable)
@@ -1547,7 +1547,7 @@ sub dump_function($$) {
     $prototype =~ s/^noinline +//;
     $prototype =~ s/__devinit +//;
     $prototype =~ s/^#define\s+//; #ak added
-    $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//;
+    $prototype =~ s/__attribute__\s*\(\([a-z,]*\)\)//;
 
     # Yes, this truly is vile.  We are looking for:
     # 1. Return type (may be nothing if we're looking at a macro)