/* This file is released under the GNU GPL v2.  */
int __umc_driver_register(struct umc_driver *umc_drv, struct module *module, const char *mod_name)
/* This file is released under the GNU GPL v2.  */
int __umc_driver_register(struct umc_driver *umc_drv, struct module *module, const char *mod_name)
{
	umc_drv->driver.name     = umc_drv->name;
	umc_drv->driver.owner    = module;
	umc_drv->driver.mod_name = mod_name;
	umc_drv->driver.bus      = &umc_bus_type;
	return driver_register(&umc_drv->driver);
}