All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 3/3] sh: sh7786: Add echi-sh of platform data
Date: Thu, 01 Mar 2012 10:35:47 +0000	[thread overview]
Message-ID: <4F4F5103.1050504@mvista.com> (raw)
In-Reply-To: <1330569162-9485-3-git-send-email-nobuhiro.iwamatsu.yj@renesas.com>

Hello.

On 01-03-2012 6:32, Nobuhiro Iwamatsu wrote:

> Signed-off-by: Nobuhiro Iwamatsu<nobuhiro.iwamatsu.yj@renesas.com>
> ---
>   arch/sh/kernel/cpu/sh4a/setup-sh7786.c |    7 +++++++
>   1 files changed, 7 insertions(+), 0 deletions(-)

> diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
> index 599022d..9e32e1c 100644
> --- a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
> +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
[...]
> @@ -540,6 +541,11 @@ static struct platform_device dma0_device = {
>   	},
>   };
>
> +static struct ehci_sh_platdata usb_ehci_pdata = {
> +	.phy_init = NULL,
> +	.clkmode = 0,

    Do not init to 0 or NULL explicitly.

> +};
> +
>   #define USB_EHCI_START 0xffe70000
>   #define USB_OHCI_START 0xffe70400
>
> @@ -562,6 +568,7 @@ static struct platform_device usb_ehci_device = {
>   	.dev = {
>   		.dma_mask		= &usb_ehci_device.dev.coherent_dma_mask,
>   		.coherent_dma_mask	= DMA_BIT_MASK(32),
> +		.platform_data      = &usb_ehci_pdata,

    Align the initilaiziuer with other fields above please.

WBR, Sergei

      reply	other threads:[~2012-03-01 10:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01  2:32 [PATCH 3/3] sh: sh7786: Add echi-sh of platform data Nobuhiro Iwamatsu
2012-03-01 10:35 ` Sergei Shtylyov [this message]

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=4F4F5103.1050504@mvista.com \
    --to=sshtylyov@mvista.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 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.