Skip to content
Snippets Groups Projects
Commit 7e575c46 authored by Troy Kisky's avatar Troy Kisky Committed by Tom Rini
Browse files

usb: rename board_usb_init_type to usb_init_type


commit bba67914
"usb: rename board_usb_init_type to usb_init_type" missed xhci-omap.c
So, fix that patch here, and fix a checkpatch warning.
WARNING: Avoid unnecessary line continuations

Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
parent 717ceb63
No related branches found
No related tags found
No related merge requests found
......@@ -221,7 +221,7 @@ void usb_hub_reset_devices(int port)
*
* @return 0
*/
int board_usb_init(int index, enum board_usb_init_type init)
int board_usb_init(int index, enum usb_init_type init)
{
int ret;
#ifdef CONFIG_PALMAS_USB_SS_PWR
......
......@@ -27,11 +27,11 @@ DECLARE_GLOBAL_DATA_PTR;
static struct omap_xhci omap;
inline int __board_usb_init(int index, enum board_usb_init_type init)
inline int __board_usb_init(int index, enum usb_init_type init)
{
return 0;
}
int board_usb_init(int index, enum board_usb_init_type init) \
int board_usb_init(int index, enum usb_init_type init)
__attribute__((weak, alias("__board_usb_init")));
static void dwc3_set_mode(struct dwc3 *dwc3_reg, u32 mode)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment