summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-12-04 00:52:03 (GMT)
committerMarek Vasut <marex@denx.de>2015-12-17 20:54:39 (GMT)
commit2f6560a14669c260665ae78c316326359310f923 (patch)
tree923ac126bd7d245565231918fe2f7a1eee93d355 /drivers/usb
parentc056c52bbd8125d1745cc73505b55843b6a28f78 (diff)
downloadu-boot-2f6560a14669c260665ae78c316326359310f923.tar.xz
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/s3c_udc_otg_priv.h2
-rw-r--r--drivers/usb/gadget/s3c_udc_otg_xfer_dma.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/gadget/s3c_udc_otg_priv.h b/drivers/usb/gadget/s3c_udc_otg_priv.h
index 68bac69..cc10704 100644
--- a/drivers/usb/gadget/s3c_udc_otg_priv.h
+++ b/drivers/usb/gadget/s3c_udc_otg_priv.h
@@ -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__ */
diff --git a/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c b/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
index 0288d44..1390239 100644
--- a/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+++ b/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
@@ -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;