From: Viresh Kumar Date: Thu, 3 Mar 2011 10:17:15 +0000 (+0530) Subject: dw_dmac: Replace module_init() with subsys_initcall() X-Git-Tag: v2.6.39-rc1~203^2~12^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb689a706d17ef19a61735670ded60466dd015fa;p=pandora-kernel.git 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed