9
0
Fork 0

pxa27x_udc: Fix compilation warning.

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>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Marek Belisko 2012-03-22 22:05:18 +01:00 committed by Sascha Hauer
parent aaf02c6b41
commit 96a43caf5a
1 changed files with 2 additions and 2 deletions

View File

@ -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 = { static struct poller_struct poller = {
.func = pxa27x_udc_poller .func = pxa27x_udc_poller