mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
instead of defining all functions as static inlines, let's move them to udc-core and export them with EXPORT_SYMBOL_GPL, that way we can make sure that only GPL drivers will use them. As a side effect, it'll be nicer to add tracepoints to the gadget API. While at that, also fix Kconfig dependencies to avoid randconfig build failures. Change-Id: I3fcc99c0730608076cfa8624908e58b7ee6f1bef Acked-By: Sebastian Reichel <sre@kernel.org> Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: William Wu <william.wu@rock-chips.com> (cherry-picked from commit 5a8d651a2bde01e00caf78496390d6ae46df80af)