coresight: etm_pmu: Set the module field
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 5 Apr 2023 09:49:22 +0000 (10:49 +0100)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Fri, 14 Apr 2023 11:14:09 +0000 (12:14 +0100)
commit18996a113f2567aef3057e300e3193ce2df1684c
tree279e8aaf6106a357a6aa74c295d30314d1c8fcaa
parentdd8f7f463394f92c2f402e29cb39f5265ef97776
coresight: etm_pmu: Set the module field

struct pmu::module must be set to the module owning the PMU driver.
Set this for the coresight etm_pmu.

Fixes: 8e264c52e1dab ("coresight: core: Allow the coresight core driver to be built as a module")
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230405094922.667834-1-suzuki.poulose@arm.com
drivers/hwtracing/coresight/coresight-etm-perf.c