summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2011-03-03 15:47:15 +0530
committerVinod Koul <vinod.koul@intel.com>2011-03-07 01:12:27 +0530
commitcb689a706d17ef19a61735670ded60466dd015fa (patch)
tree34172bc4222c9d4a5970a7509f5adde79e500d46 /init
parentf44ad7e91dd12bed0959b3e715f4f3ab84951a59 (diff)
downloadop-kernel-dev-cb689a706d17ef19a61735670ded60466dd015fa.zip
op-kernel-dev-cb689a706d17ef19a61735670ded60466dd015fa.tar.gz
dw_dmac: Replace module_init() with subsys_initcall()
In some cases users of dw_dmac are initialized before dw_dmac, and if they try to use dw_dmac, they simply fail. So its better we register init() routine of driver using subsys_initcall() instead of module_init(), so that dma driver is available at the earliest possible. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud