Skip to content

Commit e29d430

Browse files
committed
Merge tag 'imx-soc-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into soc/arm
i.MX SoC changes for 6.10: - Assign the pmu->dev parent to be the platform device for MMDC driver, so that it doesn't appear directly under /sys/devices/. * tag 'imx-soc-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: ARM: imx: Assign parents for mmdc event_source devices Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents fec50db + 6eaa843 commit e29d430

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/mach-imx/mmdc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ static int mmdc_pmu_init(struct mmdc_pmu *pmu_mmdc,
437437
{
438438
*pmu_mmdc = (struct mmdc_pmu) {
439439
.pmu = (struct pmu) {
440+
.parent = dev,
440441
.task_ctx_nr = perf_invalid_context,
441442
.attr_groups = attr_groups,
442443
.event_init = mmdc_pmu_event_init,

0 commit comments

Comments
 (0)