OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
027ca0d
)
usb: gadget: fusb300_udc: Staticize fusb300_rdcxf()
author
Jingoo Han
<jg1.han@samsung.com>
Fri, 2 Aug 2013 08:17:05 +0000
(17:17 +0900)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 2 Aug 2013 08:19:52 +0000
(11:19 +0300)
fusb300_rdcxf() used only in this file.
Fix the following sparse warning:
drivers/usb/gadget/fusb300_udc.c:560:6: warning: symbol 'fusb300_rdcxf' was not declared. Should it be static?
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/fusb300_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/fusb300_udc.c
b/drivers/usb/gadget/fusb300_udc.c
index
c83f3e1
..
f1dd6da
100644
(file)
--- a/
drivers/usb/gadget/fusb300_udc.c
+++ b/
drivers/usb/gadget/fusb300_udc.c
@@
-557,7
+557,7
@@
static void fusb300_set_cxdone(struct fusb300 *fusb300)
}
/* read data from cx fifo */
-void fusb300_rdcxf(struct fusb300 *fusb300,
+
static
void fusb300_rdcxf(struct fusb300 *fusb300,
u8 *buffer, u32 length)
{
int i = 0;