summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-04-29 17:11:45 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-04-29 18:03:21 +0100
commit28d7f4ec98a8edb029ef24c1ee4af6a1ccbc9633 (patch)
treee0d9f392da201ce0334a987f7a2eb01a72cc8a5a /arch/arm/include
parent39710479303fd3affb3e204e9a7a75cc676977b5 (diff)
downloadtalos-obmc-linux-28d7f4ec98a8edb029ef24c1ee4af6a1ccbc9633.tar.gz
talos-obmc-linux-28d7f4ec98a8edb029ef24c1ee4af6a1ccbc9633.zip
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 @@
#ifndef __ARM_PMU_H__
#define __ARM_PMU_H__
+enum arm_pmu_type {
+ ARM_PMU_DEVICE_CPU = 0,
+ ARM_NUM_PMU_DEVICES,
+};
+
#ifdef CONFIG_CPU_HAS_PMU
struct pmu_irqs {
OpenPOWER on IntegriCloud