]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:29 +0000 (23:03 +0900)
commitd7bdd12b304d1a7ac9ac24befb9cf3f0de7ee909
tree7d7e6801e8fa20594f5af1918fc3ae2ec998bdf7
parenta8f0aa4a0d72279f2550a5aa30b925ebdee4381d
coresight: etm_pmu: Set the module field

[ Upstream commit 18996a113f2567aef3057e300e3193ce2df1684c ]

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

Fixes: cf5e752fb83be ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hwtracing/coresight/coresight-etm-perf.c