]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
fsl_usb2_udc: Make dr_ep_setup function static.
authorWill Newton <will.newton@imgtec.com>
Tue, 12 Aug 2008 14:39:07 +0000 (15:39 +0100)
committerGreg 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

index 45ad556169f106270675c706d8d7ae6836d4b2ea..d140e1b1c9061c554b00132f791b330ffef27dff 100644 (file)
@@ -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;