{
atomic_inc(&snd_seq_in_init);
}
+EXPORT_SYMBOL(snd_seq_autoload_lock);
void snd_seq_autoload_unlock(void)
{
atomic_dec(&snd_seq_in_init);
}
+EXPORT_SYMBOL(snd_seq_autoload_unlock);
static void autoload_drivers(void)
{
queue_autoload_drivers();
#endif
}
+EXPORT_SYMBOL(snd_seq_autoload_init);
#else
#define try_autoload(ops) /* NOP */
#endif
+
void snd_seq_device_load_drivers(void)
{
#ifdef CONFIG_MODULES
flush_work(&autoload_work);
#endif
}
+EXPORT_SYMBOL(snd_seq_device_load_drivers);
/*
* register a sequencer device
return 0;
}
+EXPORT_SYMBOL(snd_seq_device_new);
/*
* free the existing device
unlock_driver(ops);
return 0;
}
+EXPORT_SYMBOL(snd_seq_device_register_driver);
/*
* disconnect the device
unlock_driver(ops);
return 0;
}
+EXPORT_SYMBOL(snd_seq_device_unregister_driver);
/*
* register device driver
module_init(alsa_seq_device_init)
module_exit(alsa_seq_device_exit)
-
-EXPORT_SYMBOL(snd_seq_device_load_drivers);
-EXPORT_SYMBOL(snd_seq_device_new);
-EXPORT_SYMBOL(snd_seq_device_register_driver);
-EXPORT_SYMBOL(snd_seq_device_unregister_driver);
-#ifdef CONFIG_MODULES
-EXPORT_SYMBOL(snd_seq_autoload_init);
-EXPORT_SYMBOL(snd_seq_autoload_lock);
-EXPORT_SYMBOL(snd_seq_autoload_unlock);
-#endif