2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/arch/blackfin/mach-bf527
Lars-Peter Clausen 9059054328 blackfin: Fixup export.h includes
Commit 8dc7a9c84 ("blackfin: Add export.h to files using
EXPORT_SYMBOL/THIS_MODULE") inserted some of the include statements into
sections protected by an unrelated #if CONFIG_... statement. This can cause,
depending on the configuration used, warnings like this one:

	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: data definition has no type or storage class
	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
	arch/blackfin/mach-bf537/boards/stamp.c:2940: warning: parameter names (without types) in function declaration

This patch fixes it by moving the includes out of the #if protected sections.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
2011-11-14 17:15:23 +08:00
..
boards blackfin: Fixup export.h includes 2011-11-14 17:15:23 +08:00
include/mach Blackfin: update anomaly lists to latest public info 2011-07-23 01:18:18 -04:00
dma.c Blackfin: dma: constify MMR pointer array 2011-01-10 07:18:05 -05:00
ints-priority.c Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig Blackfin: BF51x/BF52x: support GPIO Hysteresis/Schmitt Trigger options 2010-08-06 12:55:52 -04:00
Makefile Blackfin arch: fix bugs and unify BFIN_KERNEL_CLOCK option 2009-01-07 23:14:39 +08:00