projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84dcd59
)
fsl_usb2_udc: Make dr_ep_setup function static.
author
Will Newton
<will.newton@imgtec.com>
Tue, 12 Aug 2008 14:39:07 +0000
(15:39 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 17 Oct 2008 21:41:04 +0000
(14:41 -0700)
Make dr_ep_setup function static as it's never used outside this file.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/fsl_usb2_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/fsl_usb2_udc.c
b/drivers/usb/gadget/fsl_usb2_udc.c
index 45ad556169f106270675c706d8d7ae6836d4b2ea..d140e1b1c9061c554b00132f791b330ffef27dff 100644
(file)
--- a/
drivers/usb/gadget/fsl_usb2_udc.c
+++ b/
drivers/usb/gadget/fsl_usb2_udc.c
@@
-315,7
+315,8
@@
static void dr_controller_stop(struct fsl_udc *udc)
return;
}
-void dr_ep_setup(unsigned char ep_num, unsigned char dir, unsigned char ep_type)
+static void dr_ep_setup(unsigned char ep_num, unsigned char dir,
+ unsigned char ep_type)
{
unsigned int tmp_epctrl = 0;