Commit 0a4c12d4 authored by Mike Lockwood's avatar Mike Lockwood Committed by Colin Cross
Browse files

USB: gadget: android: check for null _android_dev in android_register_function()



This fixes a load ordering issue that occurred if a function driver loads before
the android gadget driver is initialized.

Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent f6205641
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment