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>
This commit is contained in:
parent
2252d150ef
commit
7e9cb7962f
@ -32,7 +32,7 @@
|
|||||||
static LIST_HEAD(dwc3_list);
|
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;
|
u32 reg;
|
||||||
|
|
||||||
|
@ -987,7 +987,6 @@ struct dwc3_gadget_ep_cmd_params {
|
|||||||
#define DWC3_HAS_OTG BIT(3)
|
#define DWC3_HAS_OTG BIT(3)
|
||||||
|
|
||||||
/* prototypes */
|
/* prototypes */
|
||||||
void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
|
|
||||||
int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
|
int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
|
||||||
|
|
||||||
#ifdef CONFIG_USB_DWC3_HOST
|
#ifdef CONFIG_USB_DWC3_HOST
|
||||||
|
Loading…
Reference in New Issue
Block a user