diff options
author | Badhri Jagan Sridharan <Badhri@google.com> | 2014-12-15 16:42:27 -0800 |
---|---|---|
committer | Badhri Jagan Sridharan <badhri@google.com> | 2015-01-23 21:05:01 +0000 |
commit | 41bd9fea0e35814e62a34dd30a4821326b2219d6 (patch) | |
tree | 1452083db4edbc239575496f0d10a5ed4dee606c | |
parent | 2bd3cb5bc1f59c6476359b1a268f69c98639438e (diff) |
usb: gadget: configfs: Add usb_function ptr to fi struct
Add a pointer to the usb_function inside the
usb_function_instance structure to service
functions specific setup requests even before
the function gets added to the usb_gadget
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Change-Id: I6f457006f6c5516cc6986ec2acdf5b1ecf259d0c
-rw-r--r-- | include/linux/usb/composite.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h index dba63f53906c..dcae90e071ec 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h @@ -468,6 +468,7 @@ struct usb_function_instance { struct config_group group; struct list_head cfs_list; struct usb_function_driver *fd; + struct usb_function *f; int (*set_inst_name)(struct usb_function_instance *inst, const char *name); void (*free_func_inst)(struct usb_function_instance *inst); |