From 3d529a46b2ae3a790bdaca49f55a9710f6a98aa4 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Wed, 26 Feb 2020 00:57:03 +0100 Subject: [PATCH] usb: gadget: fix build errors Change-Id: Id08749fed225c8440bcb04a99bcefcb32309bfcf --- drivers/usb/gadget/android.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/android.c b/drivers/usb/gadget/android.c index a7f49a7dd017..aa1f85d75dee 100644 --- a/drivers/usb/gadget/android.c +++ b/drivers/usb/gadget/android.c @@ -514,11 +514,14 @@ static void functionfs_closed_callback(struct ffs_data *ffs) mutex_unlock(&dev->mutex); } -static int functionfs_check_dev_callback(const char *dev_name) +static void *functionfs_acquire_dev_callback(const char *dev_name) { return 0; } +static void functionfs_release_dev_callback(struct ffs_data *ffs_data) +{ +} struct adb_data { bool opened;