]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: u_ether: construct with default values and add setters/getters
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Thu, 23 May 2013 07:22:05 +0000 (09:22 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 10 Jun 2013 14:11:51 +0000 (17:11 +0300)
commit1338ffca4ce70e0e28a1fc16efde30637ea9e77b
treea9e37de23decad21ec2dfa7b70ad63b13da5cb29
parent82bd40dfe41f89214c8ebca0ecf11bdee47af4f6
usb: gadget: u_ether: construct with default values and add setters/getters

Add an interface to create a struct netdev_dev filled with default values, an
interface which makes it an interface to fill the struct with useful values and
an interface to read the values set.

The patch also adds an interface to register the net device associated with an
ethernet-over-usb link.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/u_ether.c
drivers/usb/gadget/u_ether.h