[PATCH 2/2] pxa27x_udc: Fix compilation warning.

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 23 04:30:22 EDT 2012


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 at 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 at 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 |



More information about the barebox mailing list