Skip to content

Commit

Permalink
dmaengine: at_hdmac: use subsys_initcall instead of module_init
Browse files Browse the repository at this point in the history
Use subsys_initcall instead of module_init in order to keep DMA engine rolling
before other peripheral drivers.

Signed-off-by: Eric Xu <hong.xu@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
  • Loading branch information
Eric Xu authored and Dan Williams committed Jan 15, 2011
1 parent 58344f2 commit 93d0bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/at_hdmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ static int __init at_dma_init(void)
{
return platform_driver_probe(&at_dma_driver, at_dma_probe);
}
module_init(at_dma_init);
subsys_initcall(at_dma_init);

static void __exit at_dma_exit(void)
{
Expand Down

0 comments on commit 93d0bec

Please sign in to comment.