Skip to content

Commit

Permalink
fsl_usb2_udc: Make dr_ep_setup function static.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Will Newton authored and Greg Kroah-Hartman committed Oct 17, 2008
1 parent 84dcd59 commit 9c94155
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/usb/gadget/fsl_usb2_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9c94155

Please sign in to comment.