From: Jon Smirl Date: Fri, 23 Jan 2004 04:36:12 +0000 Subject: Re: new class_simple support in 2.6.2 Message-Id: <20040123043612.58589.qmail@web14909.mail.yahoo.com> List-Id: References: <20040123034807.10417.qmail@web14912.mail.yahoo.com> In-Reply-To: <20040123034807.10417.qmail@web14912.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I don't need to do anything to class_simple except set the hotplug pointer. Everything else it provides was fine for me. Could we just add the hotplug function as a parameter to class_simple_create()? --- Greg KH wrote: > On Thu, Jan 22, 2004 at 07:48:07PM -0800, Jon Smirl wrote: > > The definition of 'struct class_simple' is hidden. How am I supposed to > access > > the embedded 'struct class' to set the pointer to my hotplug function? > > You aren't :) > > If you want to do something like set the hotplug function, or anything > else "not simple", you need to just use a struct class, and manage your > struct class_device structures yourself. > > Is this ok? > > thanks, > > greg k-h ==Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel