Searched refs:ndrv (Results 1 – 2 of 2) sorted by relevance
24 struct nubus_driver *ndrv = to_nubus_driver(dev->driver); in nubus_device_probe() local27 if (ndrv->probe) in nubus_device_probe()28 err = ndrv->probe(to_nubus_board(dev)); in nubus_device_probe()34 struct nubus_driver *ndrv = to_nubus_driver(dev->driver); in nubus_device_remove() local36 if (ndrv->remove) in nubus_device_remove()37 ndrv->remove(to_nubus_board(dev)); in nubus_device_remove()48 int nubus_driver_register(struct nubus_driver *ndrv) in nubus_driver_register() argument50 ndrv->driver.bus = &nubus_bus_type; in nubus_driver_register()51 return driver_register(&ndrv->driver); in nubus_driver_register()55 void nubus_driver_unregister(struct nubus_driver *ndrv) in nubus_driver_unregister() argument[all …]
168 int nubus_driver_register(struct nubus_driver *ndrv);169 void nubus_driver_unregister(struct nubus_driver *ndrv);