diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2016-09-15 00:32:31 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-09-16 18:11:34 +0200 |
commit | 85023b2e1325826edf5d226a9cb4d809ed1e2024 (patch) | |
tree | 7a15ce6eac43d9e9570e364f7d6739ad9a7026ba /arch/arm64/kernel/perf_event.c | |
parent | arm64: pmu: Probe default hw/cache counters (diff) | |
download | linux-85023b2e1325826edf5d226a9cb4d809ed1e2024.tar.xz linux-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.c | 2 |
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, |