All of lore.kernel.org
 help / color / mirror / Atom feed
From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] sam9g20ek/9m10g45ek/stam9g20: unbreak build after 'use -EINVAL for invalid gpio'
Date: Fri, 07 Oct 2011 10:40:27 +0200	[thread overview]
Message-ID: <4E8EBAFB.9030905@atmel.com> (raw)
In-Reply-To: <1317915587-27474-1-git-send-email-jacmet@sunsite.dk>

On 10/06/2011 05:39 PM, Peter Korsgaard :
> Commit 36706ab70b26 (ARM: at91/boards: use -EINVAL for invalid gpio)
> broke the build as it used ';' rather than ',' in structure initializers.
> 
> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>

OMG...

Thanks a lot Peter. I include it immediately in at91-l2 and at91-next!

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Best regards,

> ---
>  arch/arm/mach-at91/board-sam9g20ek.c    |    2 +-
>  arch/arm/mach-at91/board-sam9m10g45ek.c |    2 +-
>  arch/arm/mach-at91/board-stamp9g20.c    |    4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c
> index 1c6dfbb..27943c2 100644
> --- a/arch/arm/mach-at91/board-sam9g20ek.c
> +++ b/arch/arm/mach-at91/board-sam9g20ek.c
> @@ -212,7 +212,7 @@ static struct mci_platform_data __initdata ek_mmc_data = {
>  	.slot[1] = {
>  		.bus_width	= 4,
>  		.detect_pin	= AT91_PIN_PC9,
> -		.wp_pin		= -1;
> +		.wp_pin		= -1,
>  	},
>  
>  };
> diff --git a/arch/arm/mach-at91/board-sam9m10g45ek.c b/arch/arm/mach-at91/board-sam9m10g45ek.c
> index 3d68ead..008088a 100644
> --- a/arch/arm/mach-at91/board-sam9m10g45ek.c
> +++ b/arch/arm/mach-at91/board-sam9m10g45ek.c
> @@ -100,7 +100,7 @@ static struct mci_platform_data __initdata mci0_data = {
>  	.slot[0] = {
>  		.bus_width	= 4,
>  		.detect_pin	= AT91_PIN_PD10,
> -		.wp_pin		= -1;
> +		.wp_pin		= -1,
>  	},
>  };
>  
> diff --git a/arch/arm/mach-at91/board-stamp9g20.c b/arch/arm/mach-at91/board-stamp9g20.c
> index 3c0cc86..cb4a840 100644
> --- a/arch/arm/mach-at91/board-stamp9g20.c
> +++ b/arch/arm/mach-at91/board-stamp9g20.c
> @@ -123,8 +123,8 @@ static void __init add_device_nand(void)
>  static struct mci_platform_data __initdata mmc_data = {
>  	.slot[0] = {
>  		.bus_width	= 4,
> -		.detect_pin	= -1;
> -		.wp_pin		= -1;
> +		.detect_pin	= -1,
> +		.wp_pin		= -1,
>  	},
>  };
>  #else


-- 
Nicolas Ferre

  parent reply	other threads:[~2011-10-07  8:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-06 15:39 [PATCH 1/3] sam9g20ek/9m10g45ek/stam9g20: unbreak build after 'use -EINVAL for invalid gpio' Peter Korsgaard
2011-10-06 15:42 ` Peter Korsgaard
2011-10-07  8:40 ` Nicolas Ferre [this message]
2011-10-07 10:31 ` [PATCH] " Nicolas Ferre
2011-10-07 10:31   ` Nicolas Ferre

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=4E8EBAFB.9030905@atmel.com \
    --to=nicolas.ferre@atmel.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.