}
EXPORT_SYMBOL_GPL(gb_audio_manager_remove_all);
-struct gb_audio_manager_module *gb_audio_manager_get_module(int id)
-{
- struct gb_audio_manager_module *module;
-
- down_read(&modules_rwsem);
- module = gb_audio_manager_get_locked(id);
- kobject_get(&module->kobj);
- up_read(&modules_rwsem);
- return module;
-}
-EXPORT_SYMBOL_GPL(gb_audio_manager_get_module);
-
void gb_audio_manager_put_module(struct gb_audio_manager_module *module)
{
kobject_put(&module->kobj);
*/
void gb_audio_manager_remove_all(void);
-/*
- * Retrieves a gb_audio_manager_module_descriptor for the specified id.
- * Returns the gb_audio_manager_module_descriptor structure,
- * or NULL if there is no module with the specified ID.
- */
-struct gb_audio_manager_module *gb_audio_manager_get_module(int id);
-
/*
* Decreases the refcount of the module, obtained by the get function.
* Modules are removed via gb_audio_manager_remove