On Wed, Jun 12, 2002 at 03:25:01PM -0700, Tom Rini wrote: > > Shouldn't the comment in include/linux/usb.h be updated to mention that > only tables used for MODULE_DEVICE_TABLE should be __devinitdata ? > Maybe: > - * Declare the table as __devinitdata, and as a MODULE_DEVICE_TABLE. > + * Declare this table as a MODULE_DEVICE_TABLE and mark it as > + * __devinitdata. > > Or not, I'm not quite sure (but one of my co-workers pointed this out so > there's some confusion somewhere :)).
Yes, that should be cleaned up. A table can be marked __devinitdata if it is _only_ used in a MODULE_DEVICE_TABLE. If it is used as an option in the usb_driver structure, then it can not be marked as such. greg k-h _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
