diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-03-24 15:30:07 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-07 11:04:57 +0100 |
commit | c07f87f22ecc94201893b7a25430b7f5d5fd6de8 (patch) | |
tree | 3f8c6b8f7591fd6cb4a71aebbafd5df5d396937d /arch/arm/mach-versatile/core.c | |
parent | d87964c46005ccb04754f6309df0fd8f67b08c6d (diff) | |
download | kernel_samsung_crespo-c07f87f22ecc94201893b7a25430b7f5d5fd6de8.zip kernel_samsung_crespo-c07f87f22ecc94201893b7a25430b7f5d5fd6de8.tar.gz kernel_samsung_crespo-c07f87f22ecc94201893b7a25430b7f5d5fd6de8.tar.bz2 |
[ARM] VIC: Add power management device
Add power management support to the VIC by registering
each VIC as a system device to get suspend/resume
events going.
Since the VIC registeration is done early, we need to
record the VICs in a static array which is used to add
the system devices later once the initcalls are run. This
means there is now a configuration value for the number
of VICs in the system.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-versatile/core.c')
-rw-r--r-- | arch/arm/mach-versatile/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c index 1f929c3..c39c788 100644 --- a/arch/arm/mach-versatile/core.c +++ b/arch/arm/mach-versatile/core.c @@ -116,7 +116,7 @@ void __init versatile_init_irq(void) { unsigned int i; - vic_init(VA_VIC_BASE, IRQ_VIC_START, ~0); + vic_init(VA_VIC_BASE, IRQ_VIC_START, ~0, 0); set_irq_chained_handler(IRQ_VICSOURCE31, sic_handle_irq); |