projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05428ba
)
usb: gadget: pxa27x: Remove duplicate function prototype
author
Petr Cvek
<petr.cvek@tul.cz>
Fri, 24 Feb 2017 01:54:12 +0000
(
02:54
+0100)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Mon, 27 Mar 2017 07:46:34 +0000
(10:46 +0300)
Functions udc_enable() and udc_disable() have a duplicated prototype.
Remove it.
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/pxa27x_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/udc/pxa27x_udc.c
b/drivers/usb/gadget/udc/pxa27x_udc.c
index 832c4fdbe98512a2b70b6b9e9424acc21a09b83b..d48e239660c31170696042313ebd1a66e79621db 100644
(file)
--- a/
drivers/usb/gadget/udc/pxa27x_udc.c
+++ b/
drivers/usb/gadget/udc/pxa27x_udc.c
@@
-1608,9
+1608,6
@@
static int pxa_udc_pullup(struct usb_gadget *_gadget, int is_active)
return 0;
}
-static void udc_enable(struct pxa_udc *udc);
-static void udc_disable(struct pxa_udc *udc);
-
/**
* pxa_udc_vbus_session - Called by external transceiver to enable/disable udc
* @_gadget: usb gadget