summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/perf_event.c
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2016-09-14 17:32:31 -0500
committerWill Deacon <will.deacon@arm.com>2016-09-16 17:11:34 +0100
commit85023b2e1325826edf5d226a9cb4d809ed1e2024 (patch)
tree7a15ce6eac43d9e9570e364f7d6739ad9a7026ba /arch/arm64/kernel/perf_event.c
parent236b9b91cd1255a9cae9d7ef6b755efe37013c1f (diff)
downloadlwn-85023b2e1325826edf5d226a9cb4d809ed1e2024.tar.gz
lwn-85023b2e1325826edf5d226a9cb4d809ed1e2024.zip
arm64: pmu: Hoist pmu platform device name
Move the PMU name into a common header file so it may be referenced by other users. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/perf_event.c')
-rw-r--r--arch/arm64/kernel/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c
index 92dbe886cdf0..a9310a69fffd 100644
--- a/arch/arm64/kernel/perf_event.c
+++ b/arch/arm64/kernel/perf_event.c
@@ -1111,7 +1111,7 @@ static int armv8_pmu_device_probe(struct platform_device *pdev)
static struct platform_driver armv8_pmu_driver = {
.driver = {
- .name = "armv8-pmu",
+ .name = ARMV8_PMU_PDEV_NAME,
.of_match_table = armv8_pmu_of_device_ids,
},
.probe = armv8_pmu_device_probe,