[PATCH] ARM: imx/eukrea_mbimx27: fix compile warnings about unused variables
Sergei Shtylyov
sshtylyov at mvista.com
Wed Feb 9 08:57:18 EST 2011
Hello.
On 08-02-2011 23:17, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König<u.kleine-koenig at pengutronix.de>
[...]
> diff --git a/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c b/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
> index 275c858..9ac5348 100644
> --- a/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
> +++ b/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
[...]
> @@ -268,7 +268,8 @@ static struct ads7846_platform_data ads7846_config __initdata = {
> .keep_vref_on = 1,
> };
>
> -static struct spi_board_info eukrea_mbimx27_spi_board_info[] __initdata = {
> +static struct spi_board_info __maybe_unused
> +eukrea_mbimx27_spi_board_info[] __initdata = {
I think the second line should be somewhat indented.
WBR, Sergei
More information about the linux-arm-kernel
mailing list