]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: add helpers for configfs support for USB Ethernet
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Thu, 23 May 2013 08:32:02 +0000 (10:32 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 10 Jun 2013 14:15:43 +0000 (17:15 +0300)
commitd2b6db7044fba621b690d9d10ca8e0643cf05b6f
treecb6e3d7878a8fa8bf863d1c47969055dae957d92
parent92b6e655ff30e006434f2679a07044d50b773cf0
usb: gadget: add helpers for configfs support for USB Ethernet

All USB Ethernet functions will have very similar attributes in configfs.

This patch provides helper definitions to ease writing the functions and
reduce source code duplication.

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/f_ncm.c
drivers/usb/gadget/u_ether_configfs.h [new file with mode: 0644]