[PATCH] ARM: imx/eukrea_mbimx27: fix compile warnings about unused variables
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Wed Feb 9 14:39:07 EST 2011
On Wed, Feb 09, 2011 at 04:57:18PM +0300, Sergei Shtylyov wrote:
> 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.
I like it as it is. There are no rules for that, no?
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel
mailing list