]> 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)
commit95a5cf8b4900bbb4c223354a192728f388d828c0
treea9e37de23decad21ec2dfa7b70ad63b13da5cb29
parent343279d4084d887cb9eea6cf8dfa4a9e5e50b7eb
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