usb: gadget: f_hid: convert to new function interface with backward compatibility
Converting hid to the new function interface requires converting the USB hid's function code and its users. This patch converts the f_hid.c to the new function interface. The file can now be compiled into a separate usb_f_hid.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: Felipe Balbi <balbi@ti.com>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Felipe Balbi

vecāks
00896f66f5
revīzija
cb38253605
@@ -36,6 +36,7 @@
|
||||
* the runtime footprint, and giving us at least some parts of what
|
||||
* a "gcc --combine ... part1.c part2.c part3.c ... " build would.
|
||||
*/
|
||||
#define USBF_HID_INCLUDED
|
||||
#include "f_hid.c"
|
||||
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user