linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bus: brcmstb_gisb: fix module autoloading
@ 2024-04-10 17:26 Krzysztof Kozlowski
  2024-04-10 17:55 ` Florian Fainelli
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:26 UTC (permalink / raw)
  To: Florian Fainelli, Broadcom internal kernel review list,
	linux-arm-kernel, linux-kernel
  Cc: Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/bus/brcmstb_gisb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bus/brcmstb_gisb.c b/drivers/bus/brcmstb_gisb.c
index 65ae758f3194..ee29162da4ee 100644
--- a/drivers/bus/brcmstb_gisb.c
+++ b/drivers/bus/brcmstb_gisb.c
@@ -410,6 +410,7 @@ static const struct of_device_id brcmstb_gisb_arb_of_match[] = {
 	{ .compatible = "brcm,bcm74165-gisb-arb", .data = gisb_offsets_bcm74165 },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, brcmstb_gisb_arb_of_match);
 
 static int __init brcmstb_gisb_arb_probe(struct platform_device *pdev)
 {
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] bus: brcmstb_gisb: fix module autoloading
  2024-04-10 17:26 [PATCH] bus: brcmstb_gisb: fix module autoloading Krzysztof Kozlowski
@ 2024-04-10 17:55 ` Florian Fainelli
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2024-04-10 17:55 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Broadcom internal kernel review list,
	linux-arm-kernel, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 257 bytes --]



On 4/10/2024 10:26 AM, Krzysztof Kozlowski wrote:
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Applied thanks!
-- 
Florian

[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4221 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2024-04-10 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10 17:26 [PATCH] bus: brcmstb_gisb: fix module autoloading Krzysztof Kozlowski
2024-04-10 17:55 ` Florian Fainelli

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).