summaryrefslogtreecommitdiff
path: root/drivers/mfd/ab8500-core.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2012-11-22 14:35:40 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-23 15:17:01 +0400
commit916a871c48ef3ecbc4cac8f185c03160d0b42bfd (patch)
tree1bdd31bbe4bc85ab6260d7d7a3864ecf8e3372a2 /drivers/mfd/ab8500-core.c
parentacad189b08456722ca4a8984218d6f38f4563cbc (diff)
downloadlinux-916a871c48ef3ecbc4cac8f185c03160d0b42bfd.tar.xz
mfd: ab8500-core: Add abx500-clk as an mfd child device
Hierarchically, the abx500-clk shall be considered as a child of the ab8500 core. The abx500-clk is intiated at arch init and thus the clks will be available when clients needs them. Cc: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab8500-core.c')
-rw-r--r--drivers/mfd/ab8500-core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index 2a69dc2c1f84..5b8a4de4328b 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -952,6 +952,10 @@ static struct mfd_cell __devinitdata abx500_common_devs[] = {
.of_compatible = "stericsson,ab8500-regulator",
},
{
+ .name = "abx500-clk",
+ .of_compatible = "stericsson,abx500-clk",
+ },
+ {
.name = "ab8500-gpadc",
.of_compatible = "stericsson,ab8500-gpadc",
.num_resources = ARRAY_SIZE(ab8500_gpadc_resources),