]> 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)
commit85278f1f16555c17cc38390d436b5274d4ff15c0
treecb6e3d7878a8fa8bf863d1c47969055dae957d92
parent7d8190ad3c189023b0217a66a1e3a933a821a4d0
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]