mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Karel Znamenacek" <karel@ryston.cz>
To: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: karel@ryston.cz, linux-kernel@vger.kernel.org,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	stable <stable@vger.kernel.org>
Subject: Re: [PATCH] ARM: at91: USB AT91 gadget registration for module
Date: Fri, 27 Jan 2012 12:17:36 +0100	[thread overview]
Message-ID: <4F2287CF.5411.F0E5DC@karel.ryston.cz> (raw)
In-Reply-To: <1327660087-20864-1-git-send-email-nicolas.ferre@atmel.com>

OK

Karel

On 27 Jan 2012 at 11:28, Nicolas Ferre wrote:

> Registration of at91_udc as a module will enable SoC
> related code.
> 
> Fix following an idea from Karel Znamenacek.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> Cc: stable <stable@vger.kernel.org>
> ---
> Karel,
> 
> Do you want to add your "Acked-by" line?
> 
>  arch/arm/mach-at91/at91rm9200_devices.c  |    2 +-
>  arch/arm/mach-at91/at91sam9260_devices.c |    2 +-
>  arch/arm/mach-at91/at91sam9261_devices.c |    2 +-
>  arch/arm/mach-at91/at91sam9263_devices.c |    2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c
> index 18bacec..97676bd 100644
> --- a/arch/arm/mach-at91/at91rm9200_devices.c
> +++ b/arch/arm/mach-at91/at91rm9200_devices.c
> @@ -83,7 +83,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) {}
>   *  USB Device (Gadget)
>   * -------------------------------------------------------------------- */
>  
> -#ifdef CONFIG_USB_AT91
> +#if defined(CONFIG_USB_AT91) || defined(CONFIG_USB_AT91_MODULE)
>  static struct at91_udc_data udc_data;
>  
>  static struct resource udc_resources[] = {
> diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
> index 642ccb6..f1a1bb45 100644
> --- a/arch/arm/mach-at91/at91sam9260_devices.c
> +++ b/arch/arm/mach-at91/at91sam9260_devices.c
> @@ -84,7 +84,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) {}
>   *  USB Device (Gadget)
>   * -------------------------------------------------------------------- */
>  
> -#ifdef CONFIG_USB_AT91
> +#if defined(CONFIG_USB_AT91) || defined(CONFIG_USB_AT91_MODULE)
>  static struct at91_udc_data udc_data;
>  
>  static struct resource udc_resources[] = {
> diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c
> index fc59cbd..1e28bed 100644
> --- a/arch/arm/mach-at91/at91sam9261_devices.c
> +++ b/arch/arm/mach-at91/at91sam9261_devices.c
> @@ -87,7 +87,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) {}
>   *  USB Device (Gadget)
>   * -------------------------------------------------------------------- */
>  
> -#ifdef CONFIG_USB_AT91
> +#if defined(CONFIG_USB_AT91) || defined(CONFIG_USB_AT91_MODULE)
>  static struct at91_udc_data udc_data;
>  
>  static struct resource udc_resources[] = {
> diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c
> index 7b46b27..618013d 100644
> --- a/arch/arm/mach-at91/at91sam9263_devices.c
> +++ b/arch/arm/mach-at91/at91sam9263_devices.c
> @@ -92,7 +92,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) {}
>   *  USB Device (Gadget)
>   * -------------------------------------------------------------------- */
>  
> -#ifdef CONFIG_USB_AT91
> +#if defined(CONFIG_USB_AT91) || defined(CONFIG_USB_AT91_MODULE)
>  static struct at91_udc_data udc_data;
>  
>  static struct resource udc_resources[] = {
> -- 
> 1.7.5.4
> 



  reply	other threads:[~2012-01-27 11:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-27 10:28 Nicolas Ferre
2012-01-27 11:17 ` Karel Znamenacek [this message]
2012-01-28  6:53 ` Jean-Christophe PLAGNIOL-VILLARD

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=4F2287CF.5411.F0E5DC@karel.ryston.cz \
    --to=karel@ryston.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.ferre@atmel.com \
    --cc=stable@vger.kernel.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

all inboxes | Powered by JetHome®