Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374661
b: refs/heads/master
c: 42361f2
h: refs/heads/master
i:
  374659: f78b8b1
v: v3
  • Loading branch information
Barry Song authored and Vinod Koul committed May 2, 2013
1 parent 784bf6e commit c912043
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 18a1053f7b85acdda2428c9f694101070cb8e62a
refs/heads/master: 42361f20f29021bfee8d9b5f651362dca83fd705
13 changes: 12 additions & 1 deletion trunk/drivers/dma/sirf-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,18 @@ static struct platform_driver sirfsoc_dma_driver = {
},
};

module_platform_driver(sirfsoc_dma_driver);
static __init int sirfsoc_dma_init(void)
{
return platform_driver_register(&sirfsoc_dma_driver);
}

static void __exit sirfsoc_dma_exit(void)
{
platform_driver_unregister(&sirfsoc_dma_driver);
}

subsys_initcall(sirfsoc_dma_init);
module_exit(sirfsoc_dma_exit);

MODULE_AUTHOR("Rongjun Ying <rongjun.ying@csr.com>, "
"Barry Song <baohua.song@csr.com>");
Expand Down

0 comments on commit c912043

Please sign in to comment.