]> git.sur5r.net Git - u-boot/commit
drivers: usb: gadget: ether: consolidate global devices to single struct
authorMugunthan V N <mugunthanvnm@ti.com>
Fri, 18 Nov 2016 05:36:13 +0000 (11:06 +0530)
committerSimon Glass <sjg@chromium.org>
Sat, 3 Dec 2016 03:53:19 +0000 (20:53 -0700)
commit5cb3b9d7c7cf2ab2bffaeaddef49378b28ccea5d
treeb2d058d8f2a5106f792ee3b2bcae3785bb26f3a2
parentd4345aee539e5c09559f64404f85593acd7e6ee6
drivers: usb: gadget: ether: consolidate global devices to single struct

Consolidate the net device, usb eth device and gadget device
struct to single struct and a single global variable so that the
same can be passed as priv of ethernet driver.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/usb/gadget/ether.c