linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 2/4 v2] ARM: shmobile: r8a7778: add r8a7778_add_usb_host_device()
Date: Wed, 10 Jul 2013 11:58:14 +0000	[thread overview]
Message-ID: <51DD4C56.9050108@cogentembedded.com> (raw)
In-Reply-To: <87txk3up0q.wl%kuninori.morimoto.gx@renesas.com>

Hello.

On 10-07-2013 6:28, Kuninori Morimoto wrote:

> The USB host driver was registered in compulsorily
> on current r8a7778 SoC code.
> But it should be decided on platform, not SoC.
> This patch adds r8a7778_add_usb_host_device() for it.

> Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

[...]
> diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
> index 99dd715..9ea1e25 100644
> --- a/arch/arm/mach-shmobile/setup-r8a7778.c
> +++ b/arch/arm/mach-shmobile/setup-r8a7778.c
> @@ -205,6 +205,12 @@ static struct platform_device_info hci##_info __initdata = {	\
>   USB_PLATFORM_INFO(ehci);
>   USB_PLATFORM_INFO(ohci);
>
> +void __init r8a7778_add_usb_host_device(void)

    s/device/devices/.

> +{
> +	platform_device_register_full(&ehci_info);
> +	platform_device_register_full(&ohci_info);
> +}
> +
>   /* Ether */
>   static struct resource ether_resources[] __initdata = {
>   	DEFINE_RES_MEM(0xfde00000, 0x400),

    Will you do the same change to Marzen/R8A7779?

WBR, Sergei


  reply	other threads:[~2013-07-10 11:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10  2:28 [PATCH 2/4 v2] ARM: shmobile: r8a7778: add r8a7778_add_usb_host_device() Kuninori Morimoto
2013-07-10 11:58 ` Sergei Shtylyov [this message]
2013-10-02  8:32 ` [PATCH 2/4 v2] ARM: shmobile: r8a7778: add renesas_intc_irqpin support on DTSI Kuninori Morimoto
2013-10-03  4:13 ` Simon Horman

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=51DD4C56.9050108@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-sh@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;
as well as URLs for NNTP newsgroup(s).