diff options
author | Mark Rutland <Mark.Rutland@arm.com> | 2011-08-10 10:20:17 +0100 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-08-17 11:36:24 -0400 |
commit | d6bd63f15455b4a1850d3800a850e10fa08ab230 (patch) | |
tree | e79f1d884ec4dd8d0b7873d8eb338aaeb548ad19 | |
parent | 14a0749253c58f2588282c6631021796d62a983e (diff) |
ARM: perf: fix prototype of release_pmu
Commit f12482c9 ("ARM: 6974/1: pmu: refactor reservation") changed the
prototype of release_pmu, but missed the stub for when
CONFIG_CPU_HAS_PMU is not selected by the platform.
This patch changes the prototype of the stub, preventing possible build
failures when CONFIG_CPU_HAS_PMU is not selected.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 49bef8331afefa4dd75f7124c50bde47168f5492)
-rw-r--r-- | arch/arm/include/asm/pmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/pmu.h b/arch/arm/include/asm/pmu.h index 67c70a31a1b..8ae32ba092c 100644 --- a/arch/arm/include/asm/pmu.h +++ b/arch/arm/include/asm/pmu.h @@ -75,7 +75,7 @@ reserve_pmu(enum arm_pmu_type device) } static inline int -release_pmu(struct platform_device *pdev) +release_pmu(enum arm_pmu_type device) { return -ENODEV; } |