[11/13] sunxi: Register usb_ether

Message ID caa463aaa8fe87756fa45ea41b0cec08eb3e6c84.1504891631.git-series.maxime.ripard@free-electrons.com
State Superseded
Headers show
Series
  • sunxi: convert musb to the device model and enable usb_ether
Related show

Commit Message

Maxime Ripard Sept. 8, 2017, 5:34 p.m.
Call the function to register the usb_ether gadget in the board.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 board/sunxi/board.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Simon Glass Sept. 12, 2017, 12:28 p.m. | #1
On 8 September 2017 at 11:34, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> Call the function to register the usb_ether gadget in the board.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>  board/sunxi/board.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

Patch

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index f9224360d758..610fa89056ef 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -737,6 +737,8 @@  int misc_init_r(void)
 		return ret;
 #endif
 
+	usb_ether_init();
+
 	return 0;
 }