OpenCloudOS-Kernel/arch/blackfin
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
..
boot Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00
configs Blackfin: bf548-ezkit: update defconfig 2011-10-25 19:51:32 -04:00
include Blackfin: add serial TX IRQ in individual platform resource 2011-11-14 17:11:25 +08:00
kernel blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
lib Blackfin: strncpy: fix handling of zero lengths 2011-06-03 11:05:36 -04:00
mach-bf518 Blackfin: add serial TX IRQ in individual platform resource 2011-11-14 17:11:25 +08:00
mach-bf527 blackfin: Fixup export.h includes 2011-11-14 17:15:23 +08:00
mach-bf533 Blackfin: add serial TX IRQ in individual platform resource 2011-11-14 17:11:25 +08:00
mach-bf537 blackfin: Fixup export.h includes 2011-11-14 17:15:23 +08:00
mach-bf538 Blackfin: add serial TX IRQ in individual platform resource 2011-11-14 17:11:25 +08:00
mach-bf548 Blackfin: add serial TX IRQ in individual platform resource 2011-11-14 17:11:25 +08:00
mach-bf561 Blackfin: add serial TX IRQ in individual platform resource 2011-11-14 17:11:25 +08:00
mach-common blackfin: add module.h to files implicitly expecting to use it. 2011-10-31 19:31:02 -04:00
mm blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig Blackfin: drop unused Kconfig symbol 2011-10-25 19:51:59 -04:00
Kconfig.debug Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin 2011-05-25 15:34:14 -07:00
Makefile Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00