[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Direct bind of device to driver
On Tue, Feb 03, 2004 at 10:28:42PM +0100, Frank.A.Uepping@t-online.de wrote:
> Hi,
> apparently it is possible to skip the match and probe procedure by defining
> struct device::driver directly. Any scruple in doing so?
> I want use this on a virtual bus, where devices are not registered by the bus
> driver but by the device driver.
that works. It's what the i2c core does, and the USB core also does
this in places to work around some nasty USB issues.
greg k-h
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/