aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/pxa-ssp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/pxa/pxa-ssp.c')
-rw-r--r--sound/soc/pxa/pxa-ssp.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c
index 73fa10defcca..3587f2fae5f1 100644
--- a/sound/soc/pxa/pxa-ssp.c
+++ b/sound/soc/pxa/pxa-ssp.c
@@ -913,6 +913,18 @@ struct snd_soc_dai pxa_ssp_dai[] = {
913}; 913};
914EXPORT_SYMBOL_GPL(pxa_ssp_dai); 914EXPORT_SYMBOL_GPL(pxa_ssp_dai);
915 915
916static int __devinit pxa_ssp_init(void)
917{
918 return snd_soc_register_dais(pxa_ssp_dai, ARRAY_SIZE(pxa_ssp_dai));
919}
920module_init(pxa_ssp_init);
921
922static void __exit pxa_ssp_exit(void)
923{
924 snd_soc_unregister_dais(pxa_ssp_dai, ARRAY_SIZE(pxa_ssp_dai));
925}
926module_exit(pxa_ssp_exit);
927
916/* Module information */ 928/* Module information */
917MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); 929MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>");
918MODULE_DESCRIPTION("PXA SSP/PCM SoC Interface"); 930MODULE_DESCRIPTION("PXA SSP/PCM SoC Interface");