Re: registering a usb driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Alex Shepard wrote:

> On pp 348-349, the authors mention talk about a "struct module *owner"
> field in usb_driver.  However, when I look at the usb drivers in a
> recent copy of the kernel source, and at the definition of usb_driver in
> include/linux/usb.h, I don't see a owner field in the usb_driver struct.

Have a look at http://lxr.linux.no/source/include/linux/usb.h#L538, it's
the first field of the "struct usb_driver" structure.

Sincerly,

Thomas
-- 
Thomas Petazzoni
thomas.petazzoni@xxxxxxxx

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux