Skip to content

Commit

Permalink
dmaengine: bump initcall level to arch_initcall
Browse files Browse the repository at this point in the history
There are dmaengine users that would like to register dma devices at
subsys_initcall time to ensure channels are available by device_initcall
time.

Cc: Maciej Sosnowski <[email protected]>
Cc: Guennadi Liakhovetski <[email protected]>
Cc: Nicolas Ferre <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
  • Loading branch information
djbw committed Jan 6, 2009
1 parent e234667 commit 652afc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/dca/dca-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,6 @@ static void __exit dca_exit(void)
dca_sysfs_exit();
}

subsys_initcall(dca_init);
arch_initcall(dca_init);
module_exit(dca_exit);

4 changes: 2 additions & 2 deletions drivers/dma/dmaengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ static int __init dma_channel_table_init(void)

return err;
}
subsys_initcall(dma_channel_table_init);
arch_initcall(dma_channel_table_init);

/**
* dma_find_channel - find a channel to carry out the operation
Expand Down Expand Up @@ -990,6 +990,6 @@ static int __init dma_bus_init(void)
mutex_init(&dma_list_mutex);
return class_register(&dma_devclass);
}
subsys_initcall(dma_bus_init);
arch_initcall(dma_bus_init);


0 comments on commit 652afc2

Please sign in to comment.