Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286125
b: refs/heads/master
c: c94e910
h: refs/heads/master
i:
  286123: b277faf
v: v3
  • Loading branch information
Axel Lin authored and Vinod Koul committed Dec 5, 2011
1 parent 0f218e7 commit 781a786
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 48 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: ab59a510c6ad6b3add5125df64843be754782de6
refs/heads/master: c94e910535be72f0c6ac0c69e6acd8d44414e80d
16 changes: 2 additions & 14 deletions trunk/drivers/dma/iop-adma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1735,8 +1735,6 @@ static void iop_chan_start_null_xor(struct iop_adma_chan *iop_chan)
spin_unlock_bh(&iop_chan->lock);
}

MODULE_ALIAS("platform:iop-adma");

static struct platform_driver iop_adma_driver = {
.probe = iop_adma_probe,
.remove = __devexit_p(iop_adma_remove),
Expand All @@ -1746,19 +1744,9 @@ static struct platform_driver iop_adma_driver = {
},
};

static int __init iop_adma_init(void)
{
return platform_driver_register(&iop_adma_driver);
}

static void __exit iop_adma_exit(void)
{
platform_driver_unregister(&iop_adma_driver);
return;
}
module_exit(iop_adma_exit);
module_init(iop_adma_init);
module_platform_driver(iop_adma_driver);

MODULE_AUTHOR("Intel Corporation");
MODULE_DESCRIPTION("IOP ADMA Engine Driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:iop-adma");
12 changes: 1 addition & 11 deletions trunk/drivers/dma/mpc512x_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,17 +835,7 @@ static struct platform_driver mpc_dma_driver = {
},
};

static int __init mpc_dma_init(void)
{
return platform_driver_register(&mpc_dma_driver);
}
module_init(mpc_dma_init);

static void __exit mpc_dma_exit(void)
{
platform_driver_unregister(&mpc_dma_driver);
}
module_exit(mpc_dma_exit);
module_platform_driver(mpc_dma_driver);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Piotr Ziecik <kosmo@semihalf.com>");
12 changes: 1 addition & 11 deletions trunk/drivers/dma/sirf-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,17 +699,7 @@ static struct platform_driver sirfsoc_dma_driver = {
},
};

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

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

MODULE_AUTHOR("Rongjun Ying <rongjun.ying@csr.com>, "
"Barry Song <baohua.song@csr.com>");
Expand Down
12 changes: 1 addition & 11 deletions trunk/drivers/dma/timb_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -841,17 +841,7 @@ static struct platform_driver td_driver = {
.remove = __exit_p(td_remove),
};

static int __init td_init(void)
{
return platform_driver_register(&td_driver);
}
module_init(td_init);

static void __exit td_exit(void)
{
platform_driver_unregister(&td_driver);
}
module_exit(td_exit);
module_platform_driver(td_driver);

MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("Timberdale DMA controller driver");
Expand Down

0 comments on commit 781a786

Please sign in to comment.