[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No owner field in bus_type?
On Mon, Feb 02, 2004 at 08:18:34PM +0100, Frank.A.Uepping@t-online.de wrote:
> Hello,
> I am wondering, that there is no owner field in struct bus_type and struct
> device_driver! Both have callbacks; how does the caller prevent the owning
> module from unloading?
The fact that you have to unregister the driver before being able to
remove your module?
thanks,
greg k-h
p.s. remember module unload is unsupported in the 2.6 kernel :)
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/