Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49bef833 authored by Mark Rutland's avatar Mark Rutland Committed by Will Deacon
Browse files

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: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 0ac8e58f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}