/* * UWB Multi-interface Controller driver management. * * Copyright (C) 2007 Cambridge Silicon Radio Ltd. * * This file is released under the GNU GPL v2. */#include <linux/kernel.h>#include <linux/uwb/umc.h>int__umc_driver_register(structumc_driver*umc_drv,structmodule*module,constchar*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;returndriver_register(&umc_drv->driver);}EXPORT_SYMBOL_GPL(__umc_driver_register);/** * umc_driver_register - unregister a UMC capabiltity driver. * @umc_drv: pointer to the driver. */voidumc_driver_unregister(structumc_driver*umc_drv){driver_unregister(&umc_drv->driver);}EXPORT_SYMBOL_GPL(umc_driver_unregister);