summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAmit Virdi <amit.virdi@st.com>2012-03-06 23:39:40 +0000
committerMarek Vasut <marek.vasut@gmail.com>2012-03-19 00:08:17 +0100
commit4df4f3c9a2121a7b49c5b2acc73706c16e42c173 (patch)
tree004aae8a66bb2daee75ac928488d52744fe4e07d /drivers
parent23b0e6946b9794266a2b699030b7b75c3fffb81d (diff)
downloadu-boot-imx-4df4f3c9a2121a7b49c5b2acc73706c16e42c173.zip
u-boot-imx-4df4f3c9a2121a7b49c5b2acc73706c16e42c173.tar.gz
u-boot-imx-4df4f3c9a2121a7b49c5b2acc73706c16e42c173.tar.bz2
USB:gadget:designware Make locally used functions static
Signed-off-by: Amit Virdi <amit.virdi@st.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/designware_udc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/designware_udc.c b/drivers/usb/gadget/designware_udc.c
index 205f54a..67cdb29 100644
--- a/drivers/usb/gadget/designware_udc.c
+++ b/drivers/usb/gadget/designware_udc.c
@@ -802,7 +802,7 @@ void udc_startup_events(struct usb_device_instance *device)
/*
* Plug detection interrupt handling
*/
-void dw_udc_plug_irq(void)
+static void dw_udc_plug_irq(void)
{
if (readl(&plug_regs_p->plug_state) & PLUG_STATUS_ATTACHED) {
/*
@@ -826,7 +826,7 @@ void dw_udc_plug_irq(void)
/*
* Device interrupt handling
*/
-void dw_udc_dev_irq(void)
+static void dw_udc_dev_irq(void)
{
if (readl(&udc_regs_p->dev_int) & DEV_INT_USBRESET) {
writel(~0x0, &udc_regs_p->endp_int_mask);
@@ -896,7 +896,7 @@ void dw_udc_dev_irq(void)
/*
* Endpoint interrupt handling
*/
-void dw_udc_endpoint_irq(void)
+static void dw_udc_endpoint_irq(void)
{
while (readl(&udc_regs_p->endp_int) & ENDP0_INT_CTRLOUT) {