diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-04-15 16:35:38 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-04-20 18:27:36 +0530 |
commit | 30fdd373f24cc50e250c71a6e2df89505e267804 (patch) | |
tree | aecf014d62177d8d438fa4a962c5556f491bc557 /arch/arc | |
parent | 22f6b899125063c5dc955dd378c408b14d80b020 (diff) |
ARC: perf: Rename DT binding to not confuse with power mgmt
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/boot/dts/angel4.dts | 2 | ||||
-rw-r--r-- | arch/arc/kernel/perf_event.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arc/boot/dts/angel4.dts b/arch/arc/boot/dts/angel4.dts index 757e0c62c4f9..3b076fbd8366 100644 --- a/arch/arc/boot/dts/angel4.dts +++ b/arch/arc/boot/dts/angel4.dts @@ -64,7 +64,7 @@ }; arcpmu0: pmu { - compatible = "snps,arc700-pmu"; + compatible = "snps,arc700-pct"; }; }; }; diff --git a/arch/arc/kernel/perf_event.c b/arch/arc/kernel/perf_event.c index 109118a4245e..165e0b604167 100644 --- a/arch/arc/kernel/perf_event.c +++ b/arch/arc/kernel/perf_event.c @@ -346,7 +346,7 @@ static int arc_pmu_device_probe(struct platform_device *pdev) #ifdef CONFIG_OF static const struct of_device_id arc_pmu_match[] = { - { .compatible = "snps,arc700-pmu" }, + { .compatible = "snps,arc700-pct" }, {}, }; MODULE_DEVICE_TABLE(of, arc_pmu_match); @@ -354,7 +354,7 @@ MODULE_DEVICE_TABLE(of, arc_pmu_match); static struct platform_driver arc_pmu_driver = { .driver = { - .name = "arc700-pmu", + .name = "arc700-pct", .of_match_table = of_match_ptr(arc_pmu_match), }, .probe = arc_pmu_device_probe, |