dw_dmac: move from __init to __devinit
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Jun 2012 10:34:09 +0000 (13:34 +0300)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 21 Jun 2012 02:35:38 +0000 (08:05 +0530)
commit0272e93f364eac1a30f2831adcaca3dd633d5f14
tree5e840f016f30765fc737279ab183577111722796
parent4c2d56c574db84ef6e0101f28a37c044e89b0302
dw_dmac: move from __init to __devinit

We usually have more than one DMA device. Thus, the probe function should serve
for all of them in case when the driver is built as a module.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.linux@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/dw_dmac.c