diff mbox series

[v2,12/14] sunxi: Register usb_ether

Message ID 69b49529c480163c93c0ca7d4c1c8d472e2b9b3f.1505242834.git-series.maxime.ripard@free-electrons.com
State Accepted
Commit 90dd2f19d6bd9f38a500ee7cb2986fd929b6cbea
Headers show
Series sunxi: convert musb to the device model and enable usb_ether | expand

Commit Message

Maxime Ripard Sept. 12, 2017, 7:01 p.m. UTC
Call the function to register the usb_ether gadget in the board.

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

Comments

Lukasz Majewski Sept. 13, 2017, 10:46 a.m. UTC | #1
On 09/12/2017 09:01 PM, Maxime Ripard wrote:
> Call the function to register the usb_ether gadget in the board.
> 
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>   board/sunxi/board.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> 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;
>   }
>   
> 
Reviewed-by: Ɓukasz Majewski <lukma@denx.de>
diff mbox series

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;
 }