Skip to content

Commit

Permalink
ARM: 6063/1: pmu: add enum describing PMU types
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Will Deacon authored and Russell King committed Apr 29, 2010
1 parent 3971047 commit 28d7f4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/include/asm/pmu.h
Original file line number Diff line number Diff line change
@@ -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 {

0 comments on commit 28d7f4e

Please sign in to comment.