]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ab8500: sysctrl: Initialize driver at arch_initcall
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 2 Apr 2013 23:06:27 +0000 (01:06 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 10:07:55 +0000 (12:07 +0200)
commit0870c3e0d1568572b2d3485870e7d751825c89fa
treedd2e13665a58eb30e1ec77c6d627ec4175ca06ea
parent524178539e5141985625a49c087230a35db246d7
mfd: ab8500: sysctrl: Initialize driver at arch_initcall

The abx500-clk driver is initiated at arch_initcall level. Moreover it
is relying on the ab8500-sysctrl API to be available. Therefore move
ab8500-sysctrl to arch_initcall level as well. The device is already
added before the abx500 clk device, thus it will be probed before as
well, which is exactly what we want.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-sysctrl.c