From: Arnd Bergmann Date: Thu, 13 Mar 2014 16:47:23 +0000 (+0100) Subject: ARM: at91: fix broken "if () else" statement X-Git-Tag: v3.15-rc1~81^2~8^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=871336a9379;p=pandora-kernel.git ARM: at91: fix broken "if () else" statement If CONFIG_PATA_AT91 is disabled, the code in at91_add_device_cf is turned into invalid C statements due to the lack of an expression before the 'else' clause. This moves the first half of the condition inside of the #ifdef, which seems to be what the author intended. Signed-off-by: Arnd Bergmann Acked-by: Nicolas Ferre Cc: Andrew Victor Cc: Jean-Christophe Plagniol-Villard --- Reading git-diff-tree failed