diff options
Diffstat (limited to 'sound/soc/pxa/pxa-ssp.c')
-rw-r--r-- | sound/soc/pxa/pxa-ssp.c | 12 |
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 | }; |
914 | EXPORT_SYMBOL_GPL(pxa_ssp_dai); | 914 | EXPORT_SYMBOL_GPL(pxa_ssp_dai); |
915 | 915 | ||
916 | static int __devinit pxa_ssp_init(void) | ||
917 | { | ||
918 | return snd_soc_register_dais(pxa_ssp_dai, ARRAY_SIZE(pxa_ssp_dai)); | ||
919 | } | ||
920 | module_init(pxa_ssp_init); | ||
921 | |||
922 | static void __exit pxa_ssp_exit(void) | ||
923 | { | ||
924 | snd_soc_unregister_dais(pxa_ssp_dai, ARRAY_SIZE(pxa_ssp_dai)); | ||
925 | } | ||
926 | module_exit(pxa_ssp_exit); | ||
927 | |||
916 | /* Module information */ | 928 | /* Module information */ |
917 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); | 929 | MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); |
918 | MODULE_DESCRIPTION("PXA SSP/PCM SoC Interface"); | 930 | MODULE_DESCRIPTION("PXA SSP/PCM SoC Interface"); |