From: Ulf Hansson Date: Thu, 22 Nov 2012 10:35:40 +0000 (+0100) Subject: mfd: ab8500-core: Add abx500-clk as an mfd child device X-Git-Tag: v3.8-rc1~85^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=916a871c48ef3ecbc4cac8f185c03160d0b42bfd;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Ulf Hansson Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index 2a69dc2..5b8a4de 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),