From d4a3755368ca3d99f0a2b58ced8f8ddd42a80822 Mon Sep 17 00:00:00 2001 From: Mugunthan V N Date: Fri, 18 Nov 2016 11:09:15 +0530 Subject: drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model Adopt usb ether gadget and rndis driver to adopt driver model Signed-off-by: Mugunthan V N --- include/net.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/net.h') diff --git a/include/net.h b/include/net.h index 06320c6514..1f4d947350 100644 --- a/include/net.h +++ b/include/net.h @@ -254,6 +254,13 @@ int eth_setenv_enetaddr_by_index(const char *base_name, int index, uchar *enetaddr); +/* + * Initialize USB ethernet device with CONFIG_DM_ETH + * Returns: + * 0 is success, non-zero is error status. + */ +int usb_ether_init(void); + /* * Get the hardware address for an ethernet interface . * Args: -- cgit v1.2.3