Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339538
b: refs/heads/master
c: 2ac29a1
h: refs/heads/master
v: v3
  • Loading branch information
Jon Hunter authored and Will Deacon committed Nov 9, 2012
1 parent 1003fb2 commit 9149f81
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0305230a3d92d6829db89c9e0c096d4d8733f317
refs/heads/master: 2ac29a14a8b6b4a37c09c50db88dc893e6e7fc75
1 change: 1 addition & 0 deletions trunk/arch/arm/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ static void __init armpmu_init(struct arm_pmu *armpmu)
int armpmu_register(struct arm_pmu *armpmu, int type)
{
armpmu_init(armpmu);
pm_runtime_enable(&armpmu->plat_device->dev);
pr_info("enabled with %s PMU driver, %d counters available\n",
armpmu->name, armpmu->num_events);
return perf_pmu_register(&armpmu->pmu, armpmu->name, type);
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-omap2/pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ static int __init omap2_init_pmu(unsigned oh_num, char *oh_names[])
if (IS_ERR(omap_pmu_dev))
return PTR_ERR(omap_pmu_dev);

pm_runtime_enable(&omap_pmu_dev->dev);

return 0;
}

Expand Down

0 comments on commit 9149f81

Please sign in to comment.