Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
To: Keshava Munegowda <keshava_mgowda-l0cyMroinI0@public.gmane.org>
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	balbi-l0cyMroinI0@public.gmane.org,
	parthab-PpE0FKYn9XJWk0Htik3J/w@public.gmane.org,
	govindraj.raja-l0cyMroinI0@public.gmane.org,
	paul-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org,
	b-cousson-l0cyMroinI0@public.gmane.org
Subject: Re: [PATCH] ARM: OMAP: USB: fix the pointer type mismatch compilation warning
Date: Mon, 05 Mar 2012 15:43:34 +0400	[thread overview]
Message-ID: <4F54A6E6.6070409@mvista.com> (raw)
In-Reply-To: <1330946376-17672-1-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>

Hello.

On 05-03-2012 15:19, Keshava Munegowda wrote:

> From: Keshava Munegowda<Keshava_mgowda-l0cyMroinI0@public.gmane.org>

> The compilation of usb-host.c file was resulting compilation warning
> due to pointer type mismatch in assignment of return pointer type
> of the function omap_device_build_ss to local pointer type.
> This warning is fixed.

> Signed-off-by: Keshava Munegowda<keshava_mgowda-l0cyMroinI0@public.gmane.org>
> ---
>   arch/arm/mach-omap2/usb-host.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)

> diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c
> index 771dc78..88d4a19 100644
> --- a/arch/arm/mach-omap2/usb-host.c
> +++ b/arch/arm/mach-omap2/usb-host.c
> @@ -486,7 +486,7 @@ static void setup_4430ohci_io_mux(const enum usbhs_omap_port_mode *port_mode)
>   void __init usbhs_init(const struct usbhs_omap_board_data *pdata)
>   {
>   	struct omap_hwmod	*oh[2];
> -	struct omap_device	*od;
> +	struct platform_device	*od;

    Makes sense to rename variable to 'pd' then.

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-03-05 11:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-05 11:19 [PATCH] ARM: OMAP: USB: fix the pointer type mismatch compilation warning Keshava Munegowda
     [not found] ` <1330946376-17672-1-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2012-03-05 11:23   ` Govindraj
2012-03-05 11:36     ` Munegowda, Keshava
2012-03-05 11:43   ` Sergei Shtylyov [this message]
     [not found]     ` <4F54A6E6.6070409-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
2012-03-05 13:36       ` Munegowda, Keshava

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=4F54A6E6.6070409@mvista.com \
    --to=sshtylyov-igf4poytycdqt0dzr+alfa@public.gmane.org \
    --cc=b-cousson-l0cyMroinI0@public.gmane.org \
    --cc=balbi-l0cyMroinI0@public.gmane.org \
    --cc=govindraj.raja-l0cyMroinI0@public.gmane.org \
    --cc=keshava_mgowda-l0cyMroinI0@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=parthab-PpE0FKYn9XJWk0Htik3J/w@public.gmane.org \
    --cc=paul-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.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