Re: [PATCH 1/3] USB: host: ehci_atmel: Move global variables to private struct

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

 



Hello Alan,

On Sat, Jan 17, 2015 at 03:30:45PM -0500, Alan Stern wrote:
> 
> This is not the right way to do it.  For an example of the right way, 
> see the ehci-platform.c file.  Your private structure is stored in 
> ehci->priv, and its size is specified by the .extra_priv_size member of 
> an ehci_driver_overrides structure passed to ehci_init_driver().

Dammit… reworked this way, thanks for the heads-up !

Sylvain
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux