usb: gadget: fix build errors

Change-Id: Id08749fed225c8440bcb04a99bcefcb32309bfcf
This commit is contained in:
Alessandro Astone 2020-02-26 00:57:03 +01:00 committed by Matsvei Niaverau
parent b552580c5c
commit 3d529a46b2
1 changed files with 4 additions and 1 deletions

View File

@ -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;