summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dmaengine.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-01-06 11:38:22 -0700
committerDan Williams <dan.j.williams@intel.com>2009-01-06 11:38:22 -0700
commit652afc27b26859a0ea5f6db681d80b83d2c43cf8 (patch)
treefc314e981f67470ebca307548d4cd420da717298 /drivers/dma/dmaengine.c
parente2346677af86150c6083974585c131e8a2c3ddcc (diff)
downloadop-kernel-dev-652afc27b26859a0ea5f6db681d80b83d2c43cf8.zip
op-kernel-dev-652afc27b26859a0ea5f6db681d80b83d2c43cf8.tar.gz
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/dma/dmaengine.c')
-rw-r--r--drivers/dma/dmaengine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index 9d3594c..403dbe7 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -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
@@ -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);
OpenPOWER on IntegriCloud