linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] perf: arm_spe: Enable automatic DT loading
@ 2018-10-12 19:24 Jeremy Linton
  2018-10-17 15:23 ` Sudeep Holla
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Linton @ 2018-10-12 19:24 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: will.deacon, mark.rutland, sudeep.holla, linux-kernel, Jeremy Linton

When built as a module, the spe driver isn't automatically
loaded on DT systems. Add the MODULE_DEVICE_TABLE entry.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
---
 drivers/perf/arm_spe_pmu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/perf/arm_spe_pmu.c b/drivers/perf/arm_spe_pmu.c
index 54ec278d2fc4..18d61077b157 100644
--- a/drivers/perf/arm_spe_pmu.c
+++ b/drivers/perf/arm_spe_pmu.c
@@ -1169,6 +1169,7 @@ static const struct of_device_id arm_spe_pmu_of_match[] = {
 	{ .compatible = "arm,statistical-profiling-extension-v1", .data = (void *)1 },
 	{ /* Sentinel */ },
 };
+MODULE_DEVICE_TABLE(of, arm_spe_pmu_of_match);
 
 static int arm_spe_pmu_device_dt_probe(struct platform_device *pdev)
 {
-- 
2.14.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2] perf: arm_spe: Enable automatic DT loading
  2018-10-12 19:24 [PATCH 1/2] perf: arm_spe: Enable automatic DT loading Jeremy Linton
@ 2018-10-17 15:23 ` Sudeep Holla
  0 siblings, 0 replies; 2+ messages in thread
From: Sudeep Holla @ 2018-10-17 15:23 UTC (permalink / raw)
  To: Jeremy Linton, linux-arm-kernel
  Cc: Sudeep Holla, will.deacon, mark.rutland, linux-kernel

Looks like my previous response for this patch didn't make to the list.

On 12/10/18 20:24, Jeremy Linton wrote:
> When built as a module, the spe driver isn't automatically
> loaded on DT systems. Add the MODULE_DEVICE_TABLE entry.
> 

FWIW,

Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>

-- 
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-17 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12 19:24 [PATCH 1/2] perf: arm_spe: Enable automatic DT loading Jeremy Linton
2018-10-17 15:23 ` Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).