projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3971047
)
ARM: 6063/1: pmu: add enum describing PMU types
author
Will Deacon
<will.deacon@arm.com>
Thu, 29 Apr 2010 16:11:45 +0000
(17:11 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 29 Apr 2010 17:03:21 +0000
(18:03 +0100)
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>
arch/arm/include/asm/pmu.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/pmu.h
b/arch/arm/include/asm/pmu.h
index 2829b9f981a1bb9a75b1de97f73fd174b127dbc5..44bec1f02cb0dc68ad6e063bb03f8fdabc4b2916 100644
(file)
--- 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 {