ALSA: ASoC - Fix wrong section types
[deliverable/linux.git] / sound / soc / atmel / atmel-pcm.c
index 8507aa1cd81121b15a487c9a97cfda8705e98972..1fac5efd285bf72bce670fa6607237e1d582b610 100644 (file)
@@ -477,6 +477,18 @@ struct snd_soc_platform atmel_soc_platform = {
 };
 EXPORT_SYMBOL_GPL(atmel_soc_platform);
 
+static int __init atmel_pcm_modinit(void)
+{
+       return snd_soc_register_platform(&atmel_soc_platform);
+}
+module_init(atmel_pcm_modinit);
+
+static void __exit atmel_pcm_modexit(void)
+{
+       snd_soc_unregister_platform(&atmel_soc_platform);
+}
+module_exit(atmel_pcm_modexit);
+
 MODULE_AUTHOR("Sedji Gaouaou <sedji.gaouaou@atmel.com>");
 MODULE_DESCRIPTION("Atmel PCM module");
 MODULE_LICENSE("GPL");
This page took 0.037263 seconds and 5 git commands to generate.