summaryrefslogtreecommitdiff
path: root/drivers/perf/alibaba_uncore_drw_pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/perf/alibaba_uncore_drw_pmu.c')
-rw-r--r--drivers/perf/alibaba_uncore_drw_pmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/perf/alibaba_uncore_drw_pmu.c b/drivers/perf/alibaba_uncore_drw_pmu.c
index d4d14b65c4a5..89dd38343f93 100644
--- a/drivers/perf/alibaba_uncore_drw_pmu.c
+++ b/drivers/perf/alibaba_uncore_drw_pmu.c
@@ -709,6 +709,7 @@ static int ali_drw_pmu_probe(struct platform_device *pdev)
drw_pmu->pmu = (struct pmu) {
.module = THIS_MODULE,
+ .parent = &pdev->dev,
.task_ctx_nr = perf_invalid_context,
.event_init = ali_drw_pmu_event_init,
.add = ali_drw_pmu_add,