diff options
author | Will Deacon <will.deacon@arm.com> | 2010-04-29 12:11:45 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-04-29 13:03:21 -0400 |
commit | 28d7f4ec98a8edb029ef24c1ee4af6a1ccbc9633 (patch) | |
tree | e0d9f392da201ce0334a987f7a2eb01a72cc8a5a /arch/arm/include/asm/pmu.h | |
parent | 39710479303fd3affb3e204e9a7a75cc676977b5 (diff) |
ARM: 6063/1: pmu: add enum describing PMU types
This patch adds an enum describing the potential PMU device types in
preparation for PMU device registration via platform devices.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/pmu.h')
-rw-r--r-- | arch/arm/include/asm/pmu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/pmu.h b/arch/arm/include/asm/pmu.h index 2829b9f981a1..44bec1f02cb0 100644 --- a/arch/arm/include/asm/pmu.h +++ b/arch/arm/include/asm/pmu.h | |||
@@ -12,6 +12,11 @@ | |||
12 | #ifndef __ARM_PMU_H__ | 12 | #ifndef __ARM_PMU_H__ |
13 | #define __ARM_PMU_H__ | 13 | #define __ARM_PMU_H__ |
14 | 14 | ||
15 | enum arm_pmu_type { | ||
16 | ARM_PMU_DEVICE_CPU = 0, | ||
17 | ARM_NUM_PMU_DEVICES, | ||
18 | }; | ||
19 | |||
15 | #ifdef CONFIG_CPU_HAS_PMU | 20 | #ifdef CONFIG_CPU_HAS_PMU |
16 | 21 | ||
17 | struct pmu_irqs { | 22 | struct pmu_irqs { |