linux/drivers/usb/gadget
Andrzej Pietrasiewicz fee562a645 usb: gadget: f_ecm: convert to new function interface with backward compatibility
Converting ecm to the new function interface requires converting
the USB ecm's function code and its users.

This patch converts the f_ecm.c to the new function interface.

The file is now compiled into a separate usb_f_ecm.ko module.

The old function interface is provided by means of a preprocessor
conditional directives. After all users are converted, the old interface
can be removed.

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>
2013-06-10 17:16:02 +03:00
..
acm_ms.c usb: gadget: push tty port allocation from gadget into f_acm 2013-04-03 14:43:31 +03:00
amd5536udc.c usb: gadget: amd5536udc: don't assign gadget.dev.release directly 2013-03-18 11:17:46 +02:00
amd5536udc.h usb: gadget: amd5536udc: remove unused structure member 2013-03-18 11:16:56 +02:00
at91_udc.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
at91_udc.h
atmel_usba_udc.c usb: gadget: atmel_usba_udc: Remove redundant platform_set_drvdata() 2013-05-15 17:20:08 +03:00
atmel_usba_udc.h usb: gadget: atmel: remove unused DMA_ADDR_INVALID 2013-03-18 11:18:11 +02:00
audio.c
bcm63xx_udc.c usb: gadget: don't check resource with devm_ioremap_resource 2013-05-15 17:31:58 +03:00
cdc2.c usb: gadget: f_ecm: convert to new function interface with backward compatibility 2013-06-10 17:16:02 +03:00
composite.c usb: gadget: the start of the configfs interface 2013-04-03 14:43:32 +03:00
config.c
configfs.c usb: gadget: fix error return code in configfs_composite_bind() 2013-05-15 17:25:49 +03:00
dbgp.c usb: gadget: allocate & giveback serial ports instead hard code them 2013-01-21 20:52:43 +02:00
dummy_hcd.c usb: gadget: dummy_hcd: fix error return code in init() 2013-05-15 17:25:31 +03:00
epautoconf.c
ether.c usb: gadget: f_ecm: convert to new function interface with backward compatibility 2013-06-10 17:16:02 +03:00
f_acm.c usb: gadget: the start of the configfs interface 2013-04-03 14:43:32 +03:00
f_ecm.c usb: gadget: f_ecm: convert to new function interface with backward compatibility 2013-06-10 17:16:02 +03:00
f_eem.c usb: gadget: move the global the_dev variable to their users 2013-04-03 14:43:31 +03:00
f_fs.c gadgetfs: don't bother with fops->owner 2013-04-09 14:13:03 -04:00
f_hid.c
f_loopback.c usb: gadget: convert source sink and loopback to new function interface 2013-01-21 20:52:40 +02:00
f_mass_storage.c usb: gadget: f_mass_storage: add missing memory barrier for thread_wakeup_needed 2013-06-10 17:10:34 +03:00
f_midi.c
f_ncm.c usb: gadget: add helpers for configfs support for USB Ethernet 2013-06-10 17:15:43 +03:00
f_obex.c usb: gadget: f_obex: fix error return code in obex_bind() 2013-04-23 14:09:57 +03:00
f_phonet.c
f_rndis.c usb: patches for v3.10 merge window 2013-04-05 15:18:00 -07:00
f_serial.c usb: gadget: f_serial: add configfs support 2013-04-03 14:43:35 +03:00
f_sourcesink.c usb: gadget: f_sourcesink.c: correct a copy-paste misnomer 2013-04-23 14:12:02 +03:00
f_subset.c Add a couple kernel-doc lines to prevent warnings. 2013-05-15 17:19:43 +03:00
f_uac1.c usb: gadget: f_uac1: silence an info leak warning 2013-03-04 13:13:58 +02:00
f_uac2.c USB: gadget: f_uac2: Fix broken prm to uac2 mapping 2013-06-10 17:10:23 +03:00
f_uvc.c usb: gadget: uvc: Remove unneeded endpoint descriptor fields initialization 2013-05-28 19:57:45 +03:00
f_uvc.h usb: gadget: uvc: Fix coding style issues introduced by SS support 2013-03-18 11:18:18 +02:00
fsl_mxc_udc.c usb: gadget: fsl_mxc_udc: replace MX35_IO_ADDRESS to ioremap 2013-01-18 14:08:21 +02:00
fsl_qe_udc.c usb: gadget: use platform_{get,set}_drvdata() 2013-05-28 20:16:56 +03:00
fsl_qe_udc.h
fsl_udc_core.c gadget: single_open() leaks 2013-05-05 00:16:11 -04:00
fsl_usb2_udc.h usb: gadget: fsl_mxc_udc: replace MX35_IO_ADDRESS to ioremap 2013-01-18 14:08:21 +02:00
functions.c usb: gadget: add a forward pointer from usb_function to its "instance" 2013-01-21 20:52:46 +02:00
fusb300_udc.c usb: gadget: use platform_{get,set}_drvdata() 2013-05-28 20:16:56 +03:00
fusb300_udc.h usb: gadget: fusb300_udc: add FUSB300_EPSET0_STL_CLR for clearing EP0 stall 2013-04-02 16:57:24 +03:00
g_ffs.c usb: gadget: f_ecm: convert to new function interface with backward compatibility 2013-06-10 17:16:02 +03:00
g_zero.h usb: gadget: convert source sink and loopback to new function interface 2013-01-21 20:52:40 +02:00
gadget_chips.h
gmidi.c usb: gadget: consider link speed for bMaxPower 2013-01-10 12:38:52 +02:00
goku_udc.c gadget: single_open() leaks 2013-05-05 00:16:11 -04:00
goku_udc.h usb: gadget: goku_udc: let udc-core manage gadget->dev 2013-03-18 11:16:45 +02:00
hid.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
imx_udc.c usb: gadget: imx_udc: Remove redundant platform_set_drvdata() 2013-05-15 17:21:52 +03:00
imx_udc.h
inode.c aio: use cancellation list lazily 2013-05-07 18:38:29 -07:00
Kconfig usb: gadget: f_ecm: convert to new function interface with backward compatibility 2013-06-10 17:16:02 +03:00
lpc32xx_udc.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
m66592-udc.c usb: gadget: use platform_{get,set}_drvdata() 2013-05-28 20:16:56 +03:00
m66592-udc.h usb: gadget: m66592-udc: convert to udc_start/udc_stop 2013-01-24 21:11:29 +02:00
Makefile usb: gadget: f_ecm: convert to new function interface with backward compatibility 2013-06-10 17:16:02 +03:00
mass_storage.c
multi.c usb: gadget: f_ecm: convert to new function interface with backward compatibility 2013-06-10 17:16:02 +03:00
mv_u3d_core.c usb: gadget: use platform_{get,set}_drvdata() 2013-05-28 20:16:56 +03:00
mv_u3d.h
mv_udc_core.c usb: gadget: mv_udc_core: remove unused clock 2013-04-02 11:42:45 +03:00
mv_udc.h usb: gadget: mv_udc_core: remove unused clock 2013-04-02 11:42:45 +03:00
ncm.c usb: gadget: ncm: convert to new function interface 2013-06-10 17:12:52 +03:00
ndis.h
net2272.c usb: patches for v3.10 merge window 2013-04-05 15:18:00 -07:00
net2272.h
net2280.c usb: patches for v3.10 merge window 2013-04-05 15:18:00 -07:00
net2280.h
nokia.c usb: gadget: f_ecm: convert to new function interface with backward compatibility 2013-06-10 17:16:02 +03:00
omap_udc.c usb: gadget: omap_udc: don't assign gadget.dev.release directly 2013-03-18 11:17:53 +02:00
omap_udc.h
pch_udc.c usb: gadget: pch_udc: fix sparse warnings 2013-03-27 13:18:59 +02:00
printer.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
pxa25x_udc.c usb: gadget: pxa25x_udc: Remove redundant platform_set_drvdata() 2013-05-15 17:22:06 +03:00
pxa25x_udc.h usb: gadget: pxa25x_udc: convert to udc_start/udc_stop 2013-01-24 21:11:31 +02:00
pxa27x_udc.c usb: gadget: pxa27x_udc: Remove redundant platform_set_drvdata() 2013-05-28 20:09:32 +03:00
pxa27x_udc.h usb: gadget: pxa27x_udc: convert to udc_start/udc_stop 2013-01-24 21:11:31 +02:00
r8a66597-udc.c usb: gadget: r8a66597-udc: do not unlock unheld spinlock in r8a66597_sudmac_irq() 2013-06-10 17:08:48 +03:00
r8a66597-udc.h
rndis.c usb: gadget: rndis: convert into module 2013-06-10 17:11:33 +03:00
rndis.h usb: gadget: rndis: convert into module 2013-06-10 17:11:33 +03:00
s3c2410_udc.c usb: gadget: s3c2410_udc: fix error return code in s3c2410_udc_probe() 2013-05-15 17:24:39 +03:00
s3c2410_udc.h usb: gadget: s3c2410: convert to udc_start/udc_stop 2013-01-24 21:11:32 +02:00
s3c-hsotg.c usb: gadget: s3c-hsotg: pass 'struct usb_request *' to usb_gadget_unmap_request() 2013-05-15 17:33:09 +03:00
s3c-hsotg.h
s3c-hsudc.c usb: gadget: s3c-hsudc: delete outdated comment 2013-03-18 11:18:10 +02:00
serial.c usb: gadget: serial: convert to new interface of f_obex 2013-04-03 14:43:36 +03:00
storage_common.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
tcm_usb_gadget.c usb: gadget: tcm_usb_gadge: fix to return error or 0 in tcm_usbg_drop_nexus() 2012-12-13 12:04:00 +02:00
tcm_usb_gadget.h
u_ecm.h usb: gadget: f_ecm: convert to new function interface with backward compatibility 2013-06-10 17:16:02 +03:00
u_ether_configfs.h usb: gadget: add helpers for configfs support for USB Ethernet 2013-06-10 17:15:43 +03:00
u_ether.c usb: gadget: u_ether: construct with default values and add setters/getters 2013-06-10 17:11:51 +03:00
u_ether.h usb: gadget: f_ncm: remove compatibility layer 2013-06-10 17:13:22 +03:00
u_ncm.h usb: gadget: f_ncm: add configfs support 2013-06-10 17:15:02 +03:00
u_phonet.h
u_serial.c usb: gadget: u_serial: fix typo which cause build warning 2013-03-14 12:47:53 +02:00
u_serial.h usb: gadget: nokia: use function framework for ACM 2013-04-03 14:43:20 +03:00
u_uac1.c usb: gadget: u_uac1: NULL dereference on error path 2013-03-04 13:16:45 +02:00
u_uac1.h
udc-core.c usb: patches for v3.10 merge window 2013-04-05 15:18:00 -07:00
usbstring.c
uvc_queue.c usb: gadget: uvc: Implement videobuf2 .wait_prepare and .wait_finish operations 2013-06-04 23:27:50 +03:00
uvc_queue.h usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework 2013-04-02 11:42:48 +03:00
uvc_v4l2.c usb: gadget/uvc: Add support for 'get_unmapped_area' for MMUless architectures 2013-04-02 11:42:49 +03:00
uvc_video.c usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework 2013-04-02 11:42:48 +03:00
uvc.h usb: gadget: uvc: Delay the status stage when setting alternate setting 1 2013-03-18 11:18:21 +02:00
webcam.c usb: gadget: consider link speed for bMaxPower 2013-01-10 12:38:52 +02:00
zero.c usb: gadget: zero: fix error return code in zero_bind() 2013-05-15 17:15:57 +03:00