From: Arnd Bergmann Date: Thu, 14 Feb 2013 12:43:29 +0000 (+0100) Subject: ARM: integrator: fix build with INTEGRATOR_AP off X-Git-Tag: v3.9-rc1~123^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a02e0a831fc43ed580b8161a2ca5c29c3ae813d9;p=pandora-kernel.git ARM: integrator: fix build with INTEGRATOR_AP off The conditional declaration of ap_uart_data is broken and causes this build error: In file included from arch/arm/mach-integrator/core.c:35:0: arch/arm/mach-integrator/common.h:6:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token Turning the check into an constant-expression if(IS_ENABLED()) statement creates more readable code and solves this problem as well. Cc: Linus Walleij Cc: Russell King --- Reading git-diff-tree failed