Searched refs:ndrv (Results 1 – 1 of 1) sorted by relevance
19 struct nubus_driver *ndrv = to_nubus_driver(dev->driver); in nubus_device_probe() local22 if (ndrv->probe) in nubus_device_probe()23 err = ndrv->probe(to_nubus_board(dev)); in nubus_device_probe()29 struct nubus_driver *ndrv = to_nubus_driver(dev->driver); in nubus_device_remove() local31 if (ndrv->remove) in nubus_device_remove()32 ndrv->remove(to_nubus_board(dev)); in nubus_device_remove()42 int nubus_driver_register(struct nubus_driver *ndrv) in nubus_driver_register() argument44 ndrv->driver.bus = &nubus_bus_type; in nubus_driver_register()45 return driver_register(&ndrv->driver); in nubus_driver_register()49 void nubus_driver_unregister(struct nubus_driver *ndrv) in nubus_driver_unregister() argument[all …]