aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-01-06 13:38:22 -0500
committerDan Williams <dan.j.williams@intel.com>2009-01-06 13:38:22 -0500
commit652afc27b26859a0ea5f6db681d80b83d2c43cf8 (patch)
treefc314e981f67470ebca307548d4cd420da717298 /drivers
parente2346677af86150c6083974585c131e8a2c3ddcc (diff)
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: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dca/dca-core.c2
-rw-r--r--drivers/dma/dmaengine.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dca/dca-core.c b/drivers/dca/dca-core.c
index d883e1b8bb8c..55433849bfa6 100644
--- a/drivers/dca/dca-core.c
+++ b/drivers/dca/dca-core.c
@@ -270,6 +270,6 @@ static void __exit dca_exit(void)
270 dca_sysfs_exit(); 270 dca_sysfs_exit();
271} 271}
272 272
273subsys_initcall(dca_init); 273arch_initcall(dca_init);
274module_exit(dca_exit); 274module_exit(dca_exit);
275 275
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index 9d3594cf17e0..403dbe781122 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -318,7 +318,7 @@ static int __init dma_channel_table_init(void)
318 318
319 return err; 319 return err;
320} 320}
321subsys_initcall(dma_channel_table_init); 321arch_initcall(dma_channel_table_init);
322 322
323/** 323/**
324 * dma_find_channel - find a channel to carry out the operation 324 * dma_find_channel - find a channel to carry out the operation
@@ -990,6 +990,6 @@ static int __init dma_bus_init(void)
990 mutex_init(&dma_list_mutex); 990 mutex_init(&dma_list_mutex);
991 return class_register(&dma_devclass); 991 return class_register(&dma_devclass);
992} 992}
993subsys_initcall(dma_bus_init); 993arch_initcall(dma_bus_init);
994 994
995 995