arm: perf: make of_pmu_irq_cfg take arm_pmu
authorMark Rutland <mark.rutland@arm.com>
Wed, 13 May 2015 16:12:24 +0000 (17:12 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 27 May 2015 15:12:36 +0000 (16:12 +0100)
commit64d0d3943e14653fcfd5f9b3bd585bc77fa053df
treed5152178308167d65baf96daa3cfefebbadb1f69
parentd06f23e7637343bb6dfdb5dd216e421be1a893d8
arm: perf: make of_pmu_irq_cfg take arm_pmu

To support multiple PMUs we'll need to pass the arm_pmu instance around.
Update of_pmu_irq_cfg to take an arm_pmu, and acquire the platform
device from this.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_cpu.c