ARM: perf: fix prototype of release_pmu
authorMark Rutland <Mark.Rutland@arm.com>
Wed, 10 Aug 2011 09:20:17 +0000 (10:20 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 12 Aug 2011 14:40:21 +0000 (15:40 +0100)
commit49bef8331afefa4dd75f7124c50bde47168f5492
tree8c0d234a50c64c8ee68d73a84584e47b970285cf
parent0ac8e58f3818795d02ac309bd57b4d93ec283a77
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>
arch/arm/include/asm/pmu.h