summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/devices-db8500.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-22 01:51:07 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-04-08 15:58:15 +0400
commit55b175d7e6327939df82592ef279c534da323354 (patch)
tree94b298b8727e7371915d6160a165d6d0ae3cbebb /arch/arm/mach-ux500/devices-db8500.c
parent90c29f980217745828096dee5504e15b5c865301 (diff)
downloadlinux-55b175d7e6327939df82592ef279c534da323354.tar.xz
ARM: ux500: split out prcmu initialization
This untangles the final bits of the prcmu code from the platform code: * The IRQ_PRCMU_* definitions move from irqs-db8500.h into prcmu.c because they are only of local significance. * u8500_thsens_device goes into the prcmu, because it uses a PRCMU IRQ that the platform does not see. * IRQ_DB8500_AB8500 and IRQ_PRCMU_BASE go into the platform data because the PRCMU does not see it. Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> [Fixed a oneliner bug] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/devices-db8500.c')
-rw-r--r--arch/arm/mach-ux500/devices-db8500.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c
index f3d9419f75d3..df4d7de0fd9f 100644
--- a/arch/arm/mach-ux500/devices-db8500.c
+++ b/arch/arm/mach-ux500/devices-db8500.c
@@ -199,6 +199,8 @@ struct platform_device u8500_ske_keypad_device = {
struct prcmu_pdata db8500_prcmu_pdata = {
.ab_platdata = &ab8500_platdata,
+ .ab_irq = IRQ_DB8500_AB8500,
+ .irq_base = IRQ_PRCMU_BASE,
.version_offset = DB8500_PRCMU_FW_VERSION_OFFSET,
.legacy_offset = DB8500_PRCMU_LEGACY_OFFSET,
};