mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Marek Belisko <marek.belisko@open-nandra.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 2/2] pxa27x_udc: Fix compilation warning.
Date: Fri, 23 Mar 2012 09:30:22 +0100	[thread overview]
Message-ID: <20120323083022.GH3852@pengutronix.de> (raw)
In-Reply-To: <1332450318-26079-2-git-send-email-marek.belisko@open-nandra.com>

On Thu, Mar 22, 2012 at 10:05:18PM +0100, Marek Belisko wrote:
> Fix following:
> drivers/usb/gadget/pxa27x_udc.c:1482:1: warning: initialization from incompatible pointer type
> 
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>

Applied, thanks

Sascha

> ---
>  drivers/usb/gadget/pxa27x_udc.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c
> index 5652555..26be29d 100644
> --- a/drivers/usb/gadget/pxa27x_udc.c
> +++ b/drivers/usb/gadget/pxa27x_udc.c
> @@ -1473,9 +1473,9 @@ static struct pxa_udc memory = {
>  	}
>  };
>  
> -static int pxa27x_udc_poller(struct poller_struct *poller)
> +static void pxa27x_udc_poller(struct poller_struct *poller)
>  {
> -	return usb_gadget_poll();
> +	usb_gadget_poll();
>  }
>  static struct poller_struct poller = {
>  	.func		= pxa27x_udc_poller
> -- 
> 1.7.5.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-03-23  8:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 21:05 [PATCH 1/2] mtd: core: " Marek Belisko
2012-03-22 21:05 ` [PATCH 2/2] pxa27x_udc: " Marek Belisko
2012-03-23  8:30   ` Sascha Hauer [this message]
2012-03-23  8:28 ` [PATCH 1/2] mtd: core: " Sascha Hauer
2012-03-23  8:31   ` Belisko Marek

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=20120323083022.GH3852@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=marek.belisko@open-nandra.com \
    /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