|
@@ -438,17 +438,7 @@ static struct platform_driver txx9aclc_pcm_driver = {
|
|
.remove = __devexit_p(txx9aclc_soc_platform_remove),
|
|
.remove = __devexit_p(txx9aclc_soc_platform_remove),
|
|
};
|
|
};
|
|
|
|
|
|
-static int __init snd_txx9aclc_pcm_init(void)
|
|
|
|
-{
|
|
|
|
- return platform_driver_register(&txx9aclc_pcm_driver);
|
|
|
|
-}
|
|
|
|
-module_init(snd_txx9aclc_pcm_init);
|
|
|
|
-
|
|
|
|
-static void __exit snd_txx9aclc_pcm_exit(void)
|
|
|
|
-{
|
|
|
|
- platform_driver_unregister(&txx9aclc_pcm_driver);
|
|
|
|
-}
|
|
|
|
-module_exit(snd_txx9aclc_pcm_exit);
|
|
|
|
|
|
+module_platform_driver(txx9aclc_pcm_driver);
|
|
|
|
|
|
MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>");
|
|
MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>");
|
|
MODULE_DESCRIPTION("TXx9 ACLC Audio DMA driver");
|
|
MODULE_DESCRIPTION("TXx9 ACLC Audio DMA driver");
|