From a5e06781f073842beb81d088eb787f0ea23d6499 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Fri, 24 Jun 2011 12:17:07 +0100 Subject: [PATCH] mfd: Add devices for WM831x clocking module With the new generic clk API that should appear at some point we should be able to support the clocking sensibly in Linux. Signed-off-by: Mark Brown Signed-off-by: Samuel Ortiz --- drivers/mfd/wm831x-core.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/mfd/wm831x-core.c b/drivers/mfd/wm831x-core.c index baae9e47bffb..282e76ab678f 100644 --- a/drivers/mfd/wm831x-core.c +++ b/drivers/mfd/wm831x-core.c @@ -731,6 +731,9 @@ static struct mfd_cell wm8310_devs[] = { .num_resources = ARRAY_SIZE(wm831x_dcdc4_resources), .resources = wm831x_dcdc4_resources, }, + { + .name = "wm831x-clk", + }, { .name = "wm831x-epe", .id = 1, @@ -882,6 +885,9 @@ static struct mfd_cell wm8311_devs[] = { .num_resources = ARRAY_SIZE(wm831x_dcdc4_resources), .resources = wm831x_dcdc4_resources, }, + { + .name = "wm831x-clk", + }, { .name = "wm831x-epe", .id = 1, @@ -1009,6 +1015,9 @@ static struct mfd_cell wm8312_devs[] = { .num_resources = ARRAY_SIZE(wm831x_dcdc4_resources), .resources = wm831x_dcdc4_resources, }, + { + .name = "wm831x-clk", + }, { .name = "wm831x-epe", .id = 1, @@ -1160,6 +1169,9 @@ static struct mfd_cell wm8320_devs[] = { .num_resources = ARRAY_SIZE(wm8320_dcdc4_buck_resources), .resources = wm8320_dcdc4_buck_resources, }, + { + .name = "wm831x-clk", + }, { .name = "wm831x-gpio", .num_resources = ARRAY_SIZE(wm831x_gpio_resources), -- 2.30.2