diff options
Diffstat (limited to 'sound/soc/davinci/davinci-pcm.c')
-rw-r--r-- | sound/soc/davinci/davinci-pcm.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c index 76feaa657375..f1b6e02d24ed 100644 --- a/sound/soc/davinci/davinci-pcm.c +++ b/sound/soc/davinci/davinci-pcm.c | |||
@@ -384,6 +384,18 @@ struct snd_soc_platform davinci_soc_platform = { | |||
384 | }; | 384 | }; |
385 | EXPORT_SYMBOL_GPL(davinci_soc_platform); | 385 | EXPORT_SYMBOL_GPL(davinci_soc_platform); |
386 | 386 | ||
387 | static int __devinit davinci_soc_platform_init(void) | ||
388 | { | ||
389 | return snd_soc_register_platform(&davinci_soc_platform); | ||
390 | } | ||
391 | module_init(davinci_soc_platform_init); | ||
392 | |||
393 | static void __exit davinci_soc_platform_exit(void) | ||
394 | { | ||
395 | snd_soc_unregister_platform(&davinci_soc_platform); | ||
396 | } | ||
397 | module_exit(davinci_soc_platform_exit); | ||
398 | |||
387 | MODULE_AUTHOR("Vladimir Barinov"); | 399 | MODULE_AUTHOR("Vladimir Barinov"); |
388 | MODULE_DESCRIPTION("TI DAVINCI PCM DMA module"); | 400 | MODULE_DESCRIPTION("TI DAVINCI PCM DMA module"); |
389 | MODULE_LICENSE("GPL"); | 401 | MODULE_LICENSE("GPL"); |