usb: gadget: configfs: Add usb_function ptr to fi struct
authorBadhri Jagan Sridharan <Badhri@google.com>
Tue, 16 Dec 2014 00:42:27 +0000 (16:42 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:06 +0000 (13:52 -0800)
commit6ccbd233aecf8aaa054d41df74d7e6b3fe21c73b
tree771305e3a3ba69274dc6bd94afc6e665809206bf
parent7e3ab4a4692faea484ae0c8b87a46ec668504f72
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
include/linux/usb/composite.h