diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-03-24 11:30:07 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-07 06:04:57 -0400 |
commit | c07f87f22ecc94201893b7a25430b7f5d5fd6de8 (patch) | |
tree | 3f8c6b8f7591fd6cb4a71aebbafd5df5d396937d /arch/arm/common/Kconfig | |
parent | d87964c46005ccb04754f6309df0fd8f67b08c6d (diff) |
[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/common/Kconfig')
-rw-r--r-- | arch/arm/common/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/common/Kconfig b/arch/arm/common/Kconfig index a2cd9beaf37d..38518d450bc0 100644 --- a/arch/arm/common/Kconfig +++ b/arch/arm/common/Kconfig | |||
@@ -4,6 +4,13 @@ config ARM_GIC | |||
4 | config ARM_VIC | 4 | config ARM_VIC |
5 | bool | 5 | bool |
6 | 6 | ||
7 | config ARM_VIC_NR | ||
8 | int | ||
9 | default 2 | ||
10 | help | ||
11 | The maximum number of VICs available in the system, for | ||
12 | power management. | ||
13 | |||
7 | config ICST525 | 14 | config ICST525 |
8 | bool | 15 | bool |
9 | 16 | ||