From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SAztM-0000Ml-A2 for barebox@lists.infradead.org; Fri, 23 Mar 2012 08:30:41 +0000 Date: Fri, 23 Mar 2012 09:30:22 +0100 From: Sascha Hauer Message-ID: <20120323083022.GH3852@pengutronix.de> References: <1332450318-26079-1-git-send-email-marek.belisko@open-nandra.com> <1332450318-26079-2-git-send-email-marek.belisko@open-nandra.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1332450318-26079-2-git-send-email-marek.belisko@open-nandra.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 2/2] pxa27x_udc: Fix compilation warning. To: Marek Belisko Cc: barebox@lists.infradead.org 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 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