aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Newton <will.newton@imgtec.com>2008-08-12 10:39:07 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 17:41:04 -0400
commit9c94155ea03e85aed66b6822477ea99f8681a3f1 (patch)
treeac6c0d12044b3d174398121093cf9e7644fa2f93
parent84dcd594952bf9b95b3901516a61e57abdf54d62 (diff)
fsl_usb2_udc: Make dr_ep_setup function static.
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>
-rw-r--r--drivers/usb/gadget/fsl_usb2_udc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 45ad556169f1..d140e1b1c906 100644
--- 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)
315 return; 315 return;
316} 316}
317 317
318void dr_ep_setup(unsigned char ep_num, unsigned char dir, unsigned char ep_type) 318static void dr_ep_setup(unsigned char ep_num, unsigned char dir,
319 unsigned char ep_type)
319{ 320{
320 unsigned int tmp_epctrl = 0; 321 unsigned int tmp_epctrl = 0;
321 322