aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-04-29 12:11:45 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-04-29 13:03:21 -0400
commit28d7f4ec98a8edb029ef24c1ee4af6a1ccbc9633 (patch)
treee0d9f392da201ce0334a987f7a2eb01a72cc8a5a /arch/arm/include
parent39710479303fd3affb3e204e9a7a75cc676977b5 (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')
-rw-r--r--arch/arm/include/asm/pmu.h5
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
15enum 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
17struct pmu_irqs { 22struct pmu_irqs {