From: Will Newton Date: Tue, 12 Aug 2008 14:39:07 +0000 (+0100) Subject: fsl_usb2_udc: Make dr_ep_setup function static. X-Git-Tag: v2.6.28-rc1~254^2~28 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9c94155ea03e85aed66b6822477ea99f8681a3f1;p=linux-2.6-omap-h63xx.git 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 Acked-by: Li Yang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c index 45ad556169f..d140e1b1c90 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;