[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1218551957-17091-2-git-send-email-will.newton@imgtec.com>
Date: Tue, 12 Aug 2008 15:39:07 +0100
From: Will Newton <will.newton@...tec.com>
To: gregkh@...e.de
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
leoli@...escale.com, Will Newton <will.newton@...tec.com>
Subject: [PATCH 01/11] 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 <will.newton@...il.com>
Acked-by: Li Yang <leoli@...escale.com>
---
drivers/usb/gadget/fsl_usb2_udc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/gadget/fsl_usb2_udc.c b/drivers/usb/gadget/fsl_usb2_udc.c
index 1cfccf1..6a927da 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;
--
1.5.5.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists