diff options
Diffstat (limited to 'sound/soc/ux500/ux500_pcm.c')
-rw-r--r-- | sound/soc/ux500/ux500_pcm.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/sound/soc/ux500/ux500_pcm.c b/sound/soc/ux500/ux500_pcm.c index b55b79f7536c..846fa82a58d0 100644 --- a/sound/soc/ux500/ux500_pcm.c +++ b/sound/soc/ux500/ux500_pcm.c | |||
@@ -281,7 +281,7 @@ static struct snd_soc_platform_driver ux500_pcm_soc_drv = { | |||
281 | .pcm_new = ux500_pcm_new, | 281 | .pcm_new = ux500_pcm_new, |
282 | }; | 282 | }; |
283 | 283 | ||
284 | static int __devexit ux500_pcm_drv_probe(struct platform_device *pdev) | 284 | int ux500_pcm_register_platform(struct platform_device *pdev) |
285 | { | 285 | { |
286 | int ret; | 286 | int ret; |
287 | 287 | ||
@@ -295,23 +295,12 @@ static int __devexit ux500_pcm_drv_probe(struct platform_device *pdev) | |||
295 | 295 | ||
296 | return 0; | 296 | return 0; |
297 | } | 297 | } |
298 | EXPORT_SYMBOL_GPL(ux500_pcm_register_platform); | ||
298 | 299 | ||
299 | static int __devinit ux500_pcm_drv_remove(struct platform_device *pdev) | 300 | int ux500_pcm_unregister_platform(struct platform_device *pdev) |
300 | { | 301 | { |
301 | snd_soc_unregister_platform(&pdev->dev); | 302 | snd_soc_unregister_platform(&pdev->dev); |
302 | 303 | ||
303 | return 0; | 304 | return 0; |
304 | } | 305 | } |
305 | 306 | EXPORT_SYMBOL_GPL(ux500_pcm_unregister_platform); | |
306 | static struct platform_driver ux500_pcm_driver = { | ||
307 | .driver = { | ||
308 | .name = "ux500-pcm", | ||
309 | .owner = THIS_MODULE, | ||
310 | }, | ||
311 | |||
312 | .probe = ux500_pcm_drv_probe, | ||
313 | .remove = __devexit_p(ux500_pcm_drv_remove), | ||
314 | }; | ||
315 | module_platform_driver(ux500_pcm_driver); | ||
316 | |||
317 | MODULE_LICENSE("GPL v2"); | ||