Re: registering a usb driver

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

 




On Dec 12, 2005, at 12:06 AM, Thomas Petazzoni wrote:
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.

Thanks for the response Thomas. It turns out I was looking at -mm, which has a patch from Greg K-H to remove that field, which is why I couldn't find it. D'oh!

http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/ gregkh-04-usb/usb-driver-owner-removal.patch http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15- rc5/2.6.15-rc5-mm2/broken-out/gregkh-usb-usb-driver-owner-removal.patch

Sorry for the noise everyone,
Alex Shepard


--
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