usb: s3c-otg: Staticize s3c_udc_ep_set_stall

This function is local to s3c_udc_otg_xfer_dma.c , staticize it.

Signed-off-by: Marek Vasut <marex@denx.de>
master
Marek Vasut 9 years ago
parent c056c52bbd
commit 2f6560a146
  1. 2
      drivers/usb/gadget/s3c_udc_otg_priv.h
  2. 2
      drivers/usb/gadget/s3c_udc_otg_xfer_dma.c

@ -97,6 +97,4 @@ extern struct dwc2_udc *the_controller;
extern void otg_phy_init(struct dwc2_udc *dev);
extern void otg_phy_off(struct dwc2_udc *dev);
extern void s3c_udc_ep_set_stall(struct dwc2_ep *ep);
#endif /* __S3C_UDC_OTG_PRIV__ */

@ -946,7 +946,7 @@ static void s3c_udc_set_nak(struct dwc2_ep *ep)
}
void s3c_udc_ep_set_stall(struct dwc2_ep *ep)
static void s3c_udc_ep_set_stall(struct dwc2_ep *ep)
{
u8 ep_num;
u32 ep_ctrl = 0;

Loading…
Cancel
Save