绑定
匹配
static inline int driver_match_device(struct device_driver *drv,
struct device *dev)
{
return drv->bus->match ? drv->bus->match(dev, drv) : 1;
}探测
流程图
Last updated
static inline int driver_match_device(struct device_driver *drv,
struct device *dev)
{
return drv->bus->match ? drv->bus->match(dev, drv) : 1;
}Last updated
__driver_attach
driver_match_device()
bus->match()
driver_probe_device()
bus->probe()