1
0
Fork 0
alistair23-linux/arch/blackfin/mach-bf527/boards
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
..
Kconfig Blackfin: tll6527m: new board port 2010-10-22 16:29:58 -04:00
Makefile Blackfin: tll6527m: new board port 2010-10-22 16:29:58 -04:00
ad7160eval.c Blackfin: add serial TX IRQ in individual platform resource 2011-11-14 17:11:25 +08:00
cm_bf527.c blackfin: Fixup export.h includes 2011-11-14 17:15:23 +08:00
ezbrd.c blackfin: Fixup export.h includes 2011-11-14 17:15:23 +08:00
ezkit.c Blackfin: add serial TX IRQ in individual platform resource 2011-11-14 17:11:25 +08:00
tll6527m.c Blackfin: add serial TX IRQ in individual platform resource 2011-11-14 17:11:25 +08:00