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)
commit480120586464e5a8cd2289a90ffbb5c042e66ba0
tree27485bdf461c4cf6323e5eec5a9ee55b8b90c8fc
parentbf30d6ede099c2a31b13bbd05b1022dc0da684d5
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