-
- Downloads
usb: gadget: f_tcm: convert to new function interface with backward compatibility
Converting tcm to the new function interface requires converting USB tcm's function code and its users. This patch converts the f_tcm.c to the new function interface. The file can be now compiled into a separate module usb_f_tcm.ko. The old function interface is provided by means of preprocessor conditional directives. After all users are converted, the old interface can be removed. Signed-off-by:Andrzej Pietrasiewicz <andrzej.p@samsung.com> Acked-by:
Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by:
Nicholas Bellinger <nab@linux-iscsi.org>
Showing
- drivers/usb/gadget/Kconfig 3 additions, 0 deletionsdrivers/usb/gadget/Kconfig
- drivers/usb/gadget/function/Makefile 2 additions, 0 deletionsdrivers/usb/gadget/function/Makefile
- drivers/usb/gadget/function/f_tcm.c 281 additions, 5 deletionsdrivers/usb/gadget/function/f_tcm.c
- drivers/usb/gadget/function/tcm.h 2 additions, 0 deletionsdrivers/usb/gadget/function/tcm.h
- drivers/usb/gadget/function/u_tcm.h 50 additions, 0 deletionsdrivers/usb/gadget/function/u_tcm.h
- drivers/usb/gadget/legacy/tcm_usb_gadget.c 1 addition, 0 deletionsdrivers/usb/gadget/legacy/tcm_usb_gadget.c
Loading
Please register or sign in to comment