diff options
| author | Patrick Mochel <mochel@osdl.org> | 2002-09-23 02:22:24 -0700 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2002-09-23 02:22:24 -0700 |
| commit | 4ee5a59e65f70477318c71dbb3c326647714a2cb (patch) | |
| tree | 848c9bd2e1b2653e41ad27d66395e0ebf8b04367 /include/linux | |
| parent | 8b755139164c05fcff5e56617d2fa9886fea1825 (diff) | |
Driver model: handle devices registered with ->driver set.
In some cases, especially when dealing with system and platform devices, a
device's driver is known when the device is registered. We still want to add
the device to the driver's list and add it to the class.
This makes splits driver binding into probe() and attach(). If the device already
has a driver, we simply call attach(). Otherwise, we try to match it on the bus
and still call found_match().
This requires that all drivers that are referenced are registered beforehand.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
