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:
parent
aaf02c6b41
commit
96a43caf5a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue