9
0
Fork 0

USB gadget pxa: Fix compiler warning

Fixes:

drivers/usb/gadget/pxa27x_udc.c:1263:13: warning: 'pxa27x_change_interface' defined but not used [-Wunused-function]

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2012-04-05 08:48:54 +02:00
parent 6838fedc76
commit 3ed06ffde9
1 changed files with 1 additions and 1 deletions

View File

@ -1260,7 +1260,7 @@ static void pxa27x_change_configuration(struct pxa_udc *udc, int config)
udc->driver->setup(&udc->gadget, &req);
}
static void pxa27x_change_interface(struct pxa_udc *udc, int iface, int alt)
static void __maybe_unused pxa27x_change_interface(struct pxa_udc *udc, int iface, int alt)
{
struct usb_ctrlrequest req;