]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: DEFINE_ macros are real definitions for exports
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:34 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:37 +0000 (11:21 -0700)
commit25f90213bf07e9cbb872b9459916c3c76edf53cd
tree27485bdf461c4cf6323e5eec5a9ee55b8b90c8fc
parente022bb318164748cc727eb67fcc9363e18b2f285
checkpatch: DEFINE_ macros are real definitions for exports

When we want to confirm an export is directly after its definition we need
to allow for DEFINE_ style macros.  Add these to the execeptions.
Refactor the exceptions.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl