kirkwood-dma.c (6ad390a25a9d1d8606b9b826878f0a30639dc2b3) | kirkwood-dma.c (41b1022509733bb3347b15d670f3c1609ddf928f) |
---|---|
1/* 2 * kirkwood-dma.c 3 * 4 * (c) 2010 Arnaud Patard <apatard@mandriva.com> 5 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 374 unchanged lines hidden (view full) --- 383 .name = "kirkwood-pcm-audio", 384 .owner = THIS_MODULE, 385 }, 386 387 .probe = kirkwood_soc_platform_probe, 388 .remove = __devexit_p(kirkwood_soc_platform_remove), 389}; 390 | 1/* 2 * kirkwood-dma.c 3 * 4 * (c) 2010 Arnaud Patard <apatard@mandriva.com> 5 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 374 unchanged lines hidden (view full) --- 383 .name = "kirkwood-pcm-audio", 384 .owner = THIS_MODULE, 385 }, 386 387 .probe = kirkwood_soc_platform_probe, 388 .remove = __devexit_p(kirkwood_soc_platform_remove), 389}; 390 |
391static int __init kirkwood_pcm_init(void) 392{ 393 return platform_driver_register(&kirkwood_pcm_driver); 394} 395module_init(kirkwood_pcm_init); | 391module_platform_driver(kirkwood_pcm_driver); |
396 | 392 |
397static void __exit kirkwood_pcm_exit(void) 398{ 399 platform_driver_unregister(&kirkwood_pcm_driver); 400} 401module_exit(kirkwood_pcm_exit); 402 | |
403MODULE_AUTHOR("Arnaud Patard <arnaud.patard@rtp-net.org>"); 404MODULE_DESCRIPTION("Marvell Kirkwood Audio DMA module"); 405MODULE_LICENSE("GPL"); 406MODULE_ALIAS("platform:kirkwood-pcm-audio"); | 393MODULE_AUTHOR("Arnaud Patard <arnaud.patard@rtp-net.org>"); 394MODULE_DESCRIPTION("Marvell Kirkwood Audio DMA module"); 395MODULE_LICENSE("GPL"); 396MODULE_ALIAS("platform:kirkwood-pcm-audio"); |