[U-Boot] [PATCH] doc: Fix outdated ohci board hook documentation

Krzysztof Kozlowski krzk at kernel.org
Tue Apr 2 07:32:12 UTC 2019


The ohci driver calls board_usb_init(), not usb_board_init().

Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
---
 doc/README.generic_usb_ohci | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/README.generic_usb_ohci b/doc/README.generic_usb_ohci
index 61300c35758a..65b0896c7fd2 100644
--- a/doc/README.generic_usb_ohci
+++ b/doc/README.generic_usb_ohci
@@ -13,7 +13,7 @@ Configuration options
 
 	CONFIG_SYS_USB_OHCI_BOARD_INIT: call the board dependant hooks:
 
-		  - extern int usb_board_init(void);
+		  - extern int board_usb_init(void);
 		  - extern int usb_board_stop(void);
 		  - extern int usb_cpu_init_fail(void);
 
-- 
2.7.4



More information about the U-Boot mailing list