blackfin: Fixup export.h includes
Commit 8dc7a9c8 ("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>
Showing
- arch/blackfin/mach-bf527/boards/cm_bf527.c 1 addition, 1 deletionarch/blackfin/mach-bf527/boards/cm_bf527.c
- arch/blackfin/mach-bf527/boards/ezbrd.c 1 addition, 1 deletionarch/blackfin/mach-bf527/boards/ezbrd.c
- arch/blackfin/mach-bf537/boards/cm_bf537e.c 1 addition, 1 deletionarch/blackfin/mach-bf537/boards/cm_bf537e.c
- arch/blackfin/mach-bf537/boards/cm_bf537u.c 1 addition, 1 deletionarch/blackfin/mach-bf537/boards/cm_bf537u.c
- arch/blackfin/mach-bf537/boards/dnp5370.c 1 addition, 1 deletionarch/blackfin/mach-bf537/boards/dnp5370.c
- arch/blackfin/mach-bf537/boards/pnav10.c 1 addition, 0 deletionsarch/blackfin/mach-bf537/boards/pnav10.c
- arch/blackfin/mach-bf537/boards/stamp.c 1 addition, 1 deletionarch/blackfin/mach-bf537/boards/stamp.c
- arch/blackfin/mach-bf537/boards/tcm_bf537.c 1 addition, 1 deletionarch/blackfin/mach-bf537/boards/tcm_bf537.c
Loading
Please register or sign in to comment