diff options
Diffstat (limited to 'sound/soc/fsl/mpc5200_dma.c')
-rw-r--r-- | sound/soc/fsl/mpc5200_dma.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/fsl/mpc5200_dma.c b/sound/soc/fsl/mpc5200_dma.c index 5c6c2457386e..e7803d34c425 100644 --- a/sound/soc/fsl/mpc5200_dma.c +++ b/sound/soc/fsl/mpc5200_dma.c | |||
@@ -526,17 +526,7 @@ static struct platform_driver mpc5200_hpcd_of_driver = { | |||
526 | } | 526 | } |
527 | }; | 527 | }; |
528 | 528 | ||
529 | static int __init mpc5200_hpcd_init(void) | 529 | module_platform_driver(mpc5200_hpcd_of_driver); |
530 | { | ||
531 | return platform_driver_register(&mpc5200_hpcd_of_driver); | ||
532 | } | ||
533 | module_init(mpc5200_hpcd_init); | ||
534 | |||
535 | static void __exit mpc5200_hpcd_exit(void) | ||
536 | { | ||
537 | platform_driver_unregister(&mpc5200_hpcd_of_driver); | ||
538 | } | ||
539 | module_exit(mpc5200_hpcd_exit); | ||
540 | 530 | ||
541 | MODULE_AUTHOR("Grant Likely <grant.likely@secretlab.ca>"); | 531 | MODULE_AUTHOR("Grant Likely <grant.likely@secretlab.ca>"); |
542 | MODULE_DESCRIPTION("Freescale MPC5200 PSC in DMA mode ASoC Driver"); | 532 | MODULE_DESCRIPTION("Freescale MPC5200 PSC in DMA mode ASoC Driver"); |