summaryrefslogtreecommitdiffstats
path: root/drivers/perf/amlogic/meson_ddr_pmu_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/perf/amlogic/meson_ddr_pmu_core.c')
-rw-r--r--drivers/perf/amlogic/meson_ddr_pmu_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/perf/amlogic/meson_ddr_pmu_core.c b/drivers/perf/amlogic/meson_ddr_pmu_core.c
index bbc7285fd934..07446d784a1a 100644
--- a/drivers/perf/amlogic/meson_ddr_pmu_core.c
+++ b/drivers/perf/amlogic/meson_ddr_pmu_core.c
@@ -492,6 +492,7 @@ int meson_ddr_pmu_create(struct platform_device *pdev)
*pmu = (struct ddr_pmu) {
.pmu = {
.module = THIS_MODULE,
+ .parent = &pdev->dev,
.capabilities = PERF_PMU_CAP_NO_EXCLUDE,
.task_ctx_nr = perf_invalid_context,
.attr_groups = attr_groups,