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

Commit ed0d9679 authored by Hemant Kumar's avatar Hemant Kumar Committed by Devdutt Patnaik
Browse files

usb: gadget: Create supported function list dynamically



If android_usb platform driver passes list of supported
function, create the list of supported functions dynamically.
This allows to create the list specific to a particular target
and avoid allocating and initializing memory for un-needed
function drivers.

Change-Id: I48a67d55265a909a7c711edc7dbb24f9b1830ad2
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent e86d5332
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