1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct usbdrv_wrap</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The Linux-USB Host Side API"><link rel="up" href="hostside.html" title="Chapter 4. Host-Side Data Types and Macros"><link rel="prev" href="API-USB-VENDOR-AND-INTERFACE-INFO.html" title="USB_VENDOR_AND_INTERFACE_INFO"><link rel="next" href="API-struct-usb-driver.html" title="struct usb_driver"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct usbdrv_wrap</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-USB-VENDOR-AND-INTERFACE-INFO.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Host-Side Data Types and Macros</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-usb-driver.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-usbdrv-wrap"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct usbdrv_wrap — 2 wrapper for driver-model structure 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct usbdrv_wrap { 5 struct device_driver driver; 6 int for_devices; 7}; </pre></div><div class="refsect1"><a name="idp1115759948"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">driver</span></dt><dd><p> 8 The driver-model core driver structure. 9 </p></dd><dt><span class="term">for_devices</span></dt><dd><p> 10 Non-zero for device drivers, 0 for interface drivers. 11 </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-USB-VENDOR-AND-INTERFACE-INFO.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="hostside.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-usb-driver.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">USB_VENDOR_AND_INTERFACE_INFO</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct usb_driver</span></td></tr></table></div></body></html> 12