diff options
Diffstat (limited to 'sound/soc/pxa/pxa2xx-pcm.c')
-rw-r--r-- | sound/soc/pxa/pxa2xx-pcm.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c index 600676f709a9..fdd6bedef9bd 100644 --- a/sound/soc/pxa/pxa2xx-pcm.c +++ b/sound/soc/pxa/pxa2xx-pcm.c | |||
@@ -141,17 +141,7 @@ static struct platform_driver pxa_pcm_driver = { | |||
141 | .remove = __devexit_p(pxa2xx_soc_platform_remove), | 141 | .remove = __devexit_p(pxa2xx_soc_platform_remove), |
142 | }; | 142 | }; |
143 | 143 | ||
144 | static int __init snd_pxa_pcm_init(void) | 144 | module_platform_driver(pxa_pcm_driver); |
145 | { | ||
146 | return platform_driver_register(&pxa_pcm_driver); | ||
147 | } | ||
148 | module_init(snd_pxa_pcm_init); | ||
149 | |||
150 | static void __exit snd_pxa_pcm_exit(void) | ||
151 | { | ||
152 | platform_driver_unregister(&pxa_pcm_driver); | ||
153 | } | ||
154 | module_exit(snd_pxa_pcm_exit); | ||
155 | 145 | ||
156 | MODULE_AUTHOR("Nicolas Pitre"); | 146 | MODULE_AUTHOR("Nicolas Pitre"); |
157 | MODULE_DESCRIPTION("Intel PXA2xx PCM DMA module"); | 147 | MODULE_DESCRIPTION("Intel PXA2xx PCM DMA module"); |