diff options
author | Will Newton <will.newton@imgtec.com> | 2008-08-12 16:39:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-17 23:41:04 +0200 |
commit | 9c94155ea03e85aed66b6822477ea99f8681a3f1 (patch) | |
tree | ac6c0d12044b3d174398121093cf9e7644fa2f93 /drivers/usb | |
parent | USB: fix up problems in the vtusb driver (diff) | |
download | linux-9c94155ea03e85aed66b6822477ea99f8681a3f1.tar.xz linux-9c94155ea03e85aed66b6822477ea99f8681a3f1.zip |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/fsl_usb2_udc.c | 3 |
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) 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; |