linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: imx/eukrea_mbimx27: fix compile warnings about unused variables
Date: Wed, 9 Feb 2011 20:39:07 +0100	[thread overview]
Message-ID: <20110209193907.GS27982@pengutronix.de> (raw)
In-Reply-To: <4D529D3E.5090405@ru.mvista.com>

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@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/  |

  reply	other threads:[~2011-02-09 19:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08 20:17 [PATCH] ARM: imx/eukrea_mbimx27: fix compile warnings about unused variables Uwe Kleine-König
2011-02-09 13:57 ` Sergei Shtylyov
2011-02-09 19:39   ` Uwe Kleine-König [this message]
2011-02-09 20:13     ` Sergei Shtylyov
2011-02-10 10:07       ` Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110209193907.GS27982@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).