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-Url: https://git.stricted.de/?a=commitdiff_plain;h=9c94155ea03e85aed66b6822477ea99f8681a3f1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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;