/* Called by hardware driver to register itself with the CAPI subsystem.  */
void register_capi_driver(struct capi_driver *driver)
/* Called by hardware driver to register itself with the CAPI subsystem.  */
void register_capi_driver(struct capi_driver *driver)
{
	unsigned long flags;
	write_lock_irqsave(&capi_drivers_list_lock, flags);
	list_add_tail(&driver->list, &capi_drivers);
	write_unlock_irqrestore(&capi_drivers_list_lock, flags);
}