Skip to contentSkip to conversation

usb: rename board_usb_init_type to usb_init_type

PATCH New Troy Kisky 2 participants 2 messages Oct 22, 2013 – Oct 24, 2013

Subsystems (3)
lore
Share & tools
lore

Troy Kisky

author
#0 lore raw

PATCH 1/1 usb: rename board_usb_init_type to usb_init_type

commit bba679144d25b91bcd7befff5a96728a30875f54
"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

---
 board/ti/omap5_uevm/evm.c    | 2 +-
 drivers/usb/host/xhci-omap.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
board/ti/omap5_uevm/evm.c +1 -1
index 9458104..bb3a699 100644
@@ -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
drivers/usb/host/xhci-omap.c +2 -2
index f6099ac..e667810 100644
@@ -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)
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 usb: rename board_usb_init_type to usb_init_type

Quoted 6 lines · Troy Kisky

commit bba679144d25b91bcd7befff5a96728a30875f54
"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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131023/deb05397/attachment.pgp>