On Mon, Aug 15, 2011 at 06:02:23PM +0200, Bart Van Assche wrote: > On Mon, Aug 15, 2011 at 5:07 PM, Greg KH <gre...@suse.de> 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" ?
Yes, or the one in the class or bus structure, depending on what you are wanting to create. > 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 ? The docbook comments in include/linux/device.h? greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html