[ARM] VIC: Add power management device
authorBen Dooks <ben-linux@fluff.org>
Tue, 24 Mar 2009 15:30:07 +0000 (15:30 +0000)
committerBen Dooks <ben-linux@fluff.org>
Thu, 7 May 2009 10:04:57 +0000 (11:04 +0100)
commitc07f87f22ecc94201893b7a25430b7f5d5fd6de8
tree3f8c6b8f7591fd6cb4a71aebbafd5df5d396937d
parentd87964c46005ccb04754f6309df0fd8f67b08c6d
[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>
arch/arm/common/Kconfig
arch/arm/common/vic.c
arch/arm/include/asm/hardware/vic.h
arch/arm/mach-ep93xx/core.c
arch/arm/mach-netx/generic.c
arch/arm/mach-versatile/core.c
arch/arm/plat-s3c64xx/irq.c