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)
commitcaa62d642634e25cf4316b286abac54a70fd5a6a
treedd2e13665a58eb30e1ec77c6d627ec4175ca06ea
parent741cdecfc5255085d348ccaad1d1befbd6ae9222
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