]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
checkpatch: reduce warnings for #include of asm/foo.h to check from arch/bar.c
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:20 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:35 +0000 (11:21 -0700)
commite09dec4831bbb319987215ea0a280b2a620021b7
tree61a66f78f37b264a6e039eeef86453c75c4dd1ff
parentc1ab33269a84d6056d2ffc728d8bbaa26377d3e3
checkpatch: reduce warnings for #include of asm/foo.h to check from arch/bar.c

It is much more likely that an architecture file will want to directly
include asm header files.  Reduce this WARNING to a CHECK when the
referencing file is in the arch directory.

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