/* macio_register_driver - Registers a new MacIO device driver @drv: pointer to the driver definition structure  */
int macio_register_driver(struct macio_driver *drv)
/* macio_register_driver - Registers a new MacIO device driver @drv: pointer to the driver definition structure  */
int macio_register_driver(struct macio_driver *drv)
{
	drv->driver.name = drv->name;
	drv->driver.bus = &macio_bus_type;
	return driver_register(&drv->driver);
}