public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH -next] PCI: mvebu: Enable module autoloading
@ 2024-09-03 13:23 Liao Chen
  2024-09-03 19:06 ` Andrew Lunn
  2025-01-15 11:36 ` Krzysztof Wilczyński
  0 siblings, 2 replies; 3+ messages in thread
From: Liao Chen @ 2024-09-03 13:23 UTC (permalink / raw)
  To: linux-pci, linux-arm-kernel, linux-kernel
  Cc: thomas.petazzoni, pali, lpieralisi, kw, robh, bhelgaas, liaochen4

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based
on the alias from of_device_id table.

Signed-off-by: Liao Chen <liaochen4@huawei.com>
---
 drivers/pci/controller/pci-mvebu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c
index 29fe09c99e7d..bf193f8c258d 100644
--- a/drivers/pci/controller/pci-mvebu.c
+++ b/drivers/pci/controller/pci-mvebu.c
@@ -1715,6 +1715,7 @@ static const struct of_device_id mvebu_pcie_of_match_table[] = {
 	{ .compatible = "marvell,kirkwood-pcie", },
 	{},
 };
+MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table);
 
 static const struct dev_pm_ops mvebu_pcie_pm_ops = {
 	NOIRQ_SYSTEM_SLEEP_PM_OPS(mvebu_pcie_suspend, mvebu_pcie_resume)
-- 
2.34.1



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

* Re: [PATCH -next] PCI: mvebu: Enable module autoloading
  2024-09-03 13:23 [PATCH -next] PCI: mvebu: Enable module autoloading Liao Chen
@ 2024-09-03 19:06 ` Andrew Lunn
  2025-01-15 11:36 ` Krzysztof Wilczyński
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2024-09-03 19:06 UTC (permalink / raw)
  To: Liao Chen
  Cc: linux-pci, linux-arm-kernel, linux-kernel, thomas.petazzoni, pali,
	lpieralisi, kw, robh, bhelgaas

On Tue, Sep 03, 2024 at 01:23:11PM +0000, Liao Chen wrote:
> Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based
> on the alias from of_device_id table.
> 
> Signed-off-by: Liao Chen <liaochen4@huawei.com>

It is maybe too late for this merge window. Please repost when the
next cycle starts.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew


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

* Re: [PATCH -next] PCI: mvebu: Enable module autoloading
  2024-09-03 13:23 [PATCH -next] PCI: mvebu: Enable module autoloading Liao Chen
  2024-09-03 19:06 ` Andrew Lunn
@ 2025-01-15 11:36 ` Krzysztof Wilczyński
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Wilczyński @ 2025-01-15 11:36 UTC (permalink / raw)
  To: Liao Chen
  Cc: linux-pci, linux-arm-kernel, linux-kernel, thomas.petazzoni, pali,
	lpieralisi, robh, bhelgaas

Hello,

> Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based
> on the alias from of_device_id table.

Applied to controller/mvebu for v6.14, thank you!

	Krzysztof


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

end of thread, other threads:[~2025-01-15 11:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 13:23 [PATCH -next] PCI: mvebu: Enable module autoloading Liao Chen
2024-09-03 19:06 ` Andrew Lunn
2025-01-15 11:36 ` Krzysztof Wilczyński

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox