diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-03-24 16:30:07 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-07 12:04:57 +0200 |
commit | c07f87f22ecc94201893b7a25430b7f5d5fd6de8 (patch) | |
tree | 3f8c6b8f7591fd6cb4a71aebbafd5df5d396937d /arch/arm/plat-s3c64xx/irq.c | |
parent | [ARM] S3C: GPIO PM core GPIOlib integration (diff) | |
download | linux-c07f87f22ecc94201893b7a25430b7f5d5fd6de8.tar.xz linux-c07f87f22ecc94201893b7a25430b7f5d5fd6de8.zip |
[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/plat-s3c64xx/irq.c')
-rw-r--r-- | arch/arm/plat-s3c64xx/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-s3c64xx/irq.c b/arch/arm/plat-s3c64xx/irq.c index f4c4844f9fdb..8dc5b6da9789 100644 --- a/arch/arm/plat-s3c64xx/irq.c +++ b/arch/arm/plat-s3c64xx/irq.c @@ -232,8 +232,8 @@ void __init s3c64xx_init_irq(u32 vic0_valid, u32 vic1_valid) printk(KERN_DEBUG "%s: initialising interrupts\n", __func__); /* initialise the pair of VICs */ - vic_init(S3C_VA_VIC0, S3C_VIC0_BASE, vic0_valid); - vic_init(S3C_VA_VIC1, S3C_VIC1_BASE, vic1_valid); + vic_init(S3C_VA_VIC0, S3C_VIC0_BASE, vic0_valid, 0); + vic_init(S3C_VA_VIC1, S3C_VIC1_BASE, vic1_valid, 0); /* add the timer sub-irqs */ |