summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-08-11 11:20:08 +0200
committerLee Jones <lee.jones@linaro.org>2012-01-05 10:13:39 +0000
commit95fcff89b2190325188fad2fe7e194c0eede5ad4 (patch)
tree91230af84196ee8e7c99fe3de8d8321180cd4ac3 /arch/arm/mach-ux500
parentfb6b659986dc6c45f3c73f6992e3f2b5500ac14a (diff)
mfd/db5500-prcmu: convert to platform device
This converts the DB5500 PRCMU driver to become a platform device just like the DB8500 PRCMU driver. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/cpu-db5500.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/cpu-db5500.c b/arch/arm/mach-ux500/cpu-db5500.c
index 9de1af00809..780a0ba29ae 100644
--- a/arch/arm/mach-ux500/cpu-db5500.c
+++ b/arch/arm/mach-ux500/cpu-db5500.c
@@ -151,11 +151,16 @@ static struct platform_device mbox2_device = {
.num_resources = ARRAY_SIZE(mbox2_resources),
};
+static struct platform_device db5500_prcmu_device = {
+ .name = "db5500-prcmu",
+};
+
static struct platform_device *db5500_platform_devs[] __initdata = {
&db5500_pmu_device,
&mbox0_device,
&mbox1_device,
&mbox2_device,
+ &db5500_prcmu_device,
};
static resource_size_t __initdata db5500_gpio_base[] = {