]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitaa83c6adf753cc46e7898605ceb33dfa98eb63fa
treecb6e3d7878a8fa8bf863d1c47969055dae957d92
parente730660378be92b83288b59b824ccdace5cd2652
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]