summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.c
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2015-03-03 17:32:09 +0100
committerMarek Vasut <marex@denx.de>2015-04-14 05:48:12 +0200
commit7e9cb7962f401439c9f107878100810b138f6ab9 (patch)
tree0864366736deecd3ba0c1247628875f6bca9ec1f /drivers/usb/dwc3/core.c
parent2252d150efac460dc2494a4a12505d366e645232 (diff)
downloadblackbird-obmc-uboot-7e9cb7962f401439c9f107878100810b138f6ab9.tar.gz
blackbird-obmc-uboot-7e9cb7962f401439c9f107878100810b138f6ab9.zip
usb: dwc3: make dwc3_set_mode to static
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>
Diffstat (limited to 'drivers/usb/dwc3/core.c')
-rw-r--r--drivers/usb/dwc3/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 78fce1bf12..33d2cf2f11 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -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;
OpenPOWER on IntegriCloud