diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2014-05-08 14:06:24 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-05-14 09:38:58 -0500 |
commit | de7a8d2d534fb3c35c29762b8a7d14e5b1937d6f (patch) | |
tree | 476c8451923fbaea8c505e6a76bedfce1ffe3ea7 /drivers/usb/gadget/u_rndis.h | |
parent | 37a3a533429ef9b3cc9f15a656c19623f0e88df7 (diff) | |
download | lwn-de7a8d2d534fb3c35c29762b8a7d14e5b1937d6f.tar.gz lwn-de7a8d2d534fb3c35c29762b8a7d14e5b1937d6f.zip |
usb: gadget: f_rndis: OS descriptors support
In order for usb functions to expose OS descriptors they
need to be made aware of OS descriptors. This involves
extending the "options" structure and setting up
appropriate associations.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/u_rndis.h')
-rw-r--r-- | drivers/usb/gadget/u_rndis.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/u_rndis.h b/drivers/usb/gadget/u_rndis.h index 7291b15c9dce..e902aa42a297 100644 --- a/drivers/usb/gadget/u_rndis.h +++ b/drivers/usb/gadget/u_rndis.h @@ -26,6 +26,9 @@ struct f_rndis_opts { bool bound; bool borrowed_net; + struct usb_os_desc rndis_os_desc; + char rndis_ext_compat_id[16]; + /* * Read/write access to configfs attributes is handled by configfs. * |