On Mon, Aug 15, 2011 at 5:07 PM, Greg KH <[email protected]> wrote: > For a device, you HAVE to be creating these attributes before the > hotplug event is sent out, and to do that, you need to set the correct > pointer before registering the device. See the documentation for the > driver model for how to do this properly.
Are you referring to the "groups" member in "struct device" ? The source files I have found so far that fill in this member in a struct device are: drivers/s390/cio/css.c and drivers/usb/core/endpoint.c. But I haven't found anything about that member in the documents under Documentation/driver-model. Is it just me who's again missing something ? Bart. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
