From: Arnd Bergmann Date: Thu, 13 Mar 2014 16:44:55 +0000 (+0100) Subject: ARM: at91: don't provide dt init code for at91x40 X-Git-Tag: v3.15-rc1~81^2~8^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfe367632656d3abd954edf2921e1a2af2d48e44;p=pandora-kernel.git ARM: at91: don't provide dt init code for at91x40 at91x40 has no support for device tree, but Kconfig allows us to enable CONFIG_OF anyway, causing a link error in the at91 reset controller initialization. The easiest fix is to adapt the existing #ifdef to omit the broken code on at91x40 where it is never called anyway. Signed-off-by: Arnd Bergmann Acked-by: Nicolas Ferre Cc: Andrew Victor Cc: Jean-Christophe Plagniol-Villard --- Reading git-diff-tree failed