• L
    blackfin: Fixup export.h includes · 90590543
    Lars-Peter Clausen 提交于
    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: NLars-Peter Clausen <lars@metafoo.de>
    Acked-by: NMike Frysinger <vapier@gentoo.org>
    Signed-off-by: NBob Liu <lliubbo@gmail.com>
    90590543
cm_bf537e.c 18.3 KB