Commit 652afc27 authored by Dan Williams's avatar Dan Williams

dmaengine: bump initcall level to arch_initcall

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 <maciej.sosnowski@intel.com>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>


parent e2346677
...@@ -270,6 +270,6 @@ static void __exit dca_exit(void) ...@@ -270,6 +270,6 @@ static void __exit dca_exit(void)
dca_sysfs_exit(); dca_sysfs_exit();
} }
subsys_initcall(dca_init); arch_initcall(dca_init);
module_exit(dca_exit); module_exit(dca_exit);
...@@ -318,7 +318,7 @@ static int __init dma_channel_table_init(void) ...@@ -318,7 +318,7 @@ static int __init dma_channel_table_init(void)
return err; 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 * dma_find_channel - find a channel to carry out the operation
...@@ -990,6 +990,6 @@ static int __init dma_bus_init(void) ...@@ -990,6 +990,6 @@ static int __init dma_bus_init(void)
mutex_init(&dma_list_mutex); mutex_init(&dma_list_mutex);
return class_register(&dma_devclass); return class_register(&dma_devclass);
} }
subsys_initcall(dma_bus_init); arch_initcall(dma_bus_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment