Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a7a4c03 authored by Andrzej Pietrasiewicz's avatar Andrzej Pietrasiewicz Committed by Badhri Jagan Sridharan
Browse files

usb: gadget: f_midi: convert to new function interface with backward compatibility



Converting midi to the new function interface requires converting
the USB midi's function code and its users.

This patch converts the f_midi.c to the new function interface.
The file can now be compiled into a separate usb_f_midi.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.

BACKPORT FROM MAINLINE KERNEL

Signed-off-by: default avatarAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Change-Id: I249b56af9549d8a5288bab99ad657ce15cc57e22
parent 519fc4b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment