On Thu, Feb 14, 2013 at 2:49 PM, Arnd Bergmann <a...@arndb.de> wrote:
> 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 <linus.wall...@linaro.org> > Cc: Russell King <li...@arm.linux.org.uk> Brilliant Arnd, thanks for fixing this! Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/