]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: dwc3: make dwc3_set_mode to static
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 3 Mar 2015 16:32:09 +0000 (17:32 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:48:12 +0000 (05:48 +0200)
This commit makes the dwc3_set_mode() as static, to prevent collisions.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h

index 78fce1bf12a969e2d8546b70314c72b293524f81..33d2cf2f112df2488fb49936494399dcc12b4ebe 100644 (file)
@@ -32,7 +32,7 @@
 static LIST_HEAD(dwc3_list);
 /* -------------------------------------------------------------------------- */
 
-void dwc3_set_mode(struct dwc3 *dwc, u32 mode)
+static void dwc3_set_mode(struct dwc3 *dwc, u32 mode)
 {
        u32 reg;
 
index 5288a18c81864ea7eab98b8073d878df62ee557f..72d2fcdd3f42ff17538004d295d7d6067d73c956 100644 (file)
@@ -987,7 +987,6 @@ struct dwc3_gadget_ep_cmd_params {
 #define DWC3_HAS_OTG                   BIT(3)
 
 /* prototypes */
-void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
 
 #ifdef CONFIG_USB_DWC3_HOST