From: Lars-Peter Clausen Date: Fri, 11 Nov 2011 10:06:38 +0000 (+0100) Subject: blackfin: Fixup export.h includes X-Git-Tag: v3.2-rc2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=905905432868fa513f0f783fb9e5724536f4ee1f;p=pandora-kernel.git 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 Acked-by: Mike Frysinger Signed-off-by: Bob Liu --- Reading git-diff-tree failed