All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] memory: brcmstb_memc: fix module autoloading
@ 2024-04-10 17:02 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:02 UTC (permalink / raw
  To: Krzysztof Kozlowski, Florian Fainelli,
	Broadcom internal kernel review list, linux-kernel,
	linux-arm-kernel

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/memory/brcmstb_memc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/memory/brcmstb_memc.c b/drivers/memory/brcmstb_memc.c
index ea9213f7152e..4f17a93aa028 100644
--- a/drivers/memory/brcmstb_memc.c
+++ b/drivers/memory/brcmstb_memc.c
@@ -243,6 +243,7 @@ static const struct of_device_id brcmstb_memc_of_match[] = {
 	},
 	{}
 };
+MODULE_DEVICE_TABLE(of, brcmstb_memc_of_match);
 
 static int brcmstb_memc_suspend(struct device *dev)
 {
-- 
2.34.1


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

* [PATCH] memory: brcmstb_memc: fix module autoloading
@ 2024-04-10 17:02 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:02 UTC (permalink / raw
  To: Krzysztof Kozlowski, Florian Fainelli,
	Broadcom internal kernel review list, linux-kernel,
	linux-arm-kernel

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/memory/brcmstb_memc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/memory/brcmstb_memc.c b/drivers/memory/brcmstb_memc.c
index ea9213f7152e..4f17a93aa028 100644
--- a/drivers/memory/brcmstb_memc.c
+++ b/drivers/memory/brcmstb_memc.c
@@ -243,6 +243,7 @@ static const struct of_device_id brcmstb_memc_of_match[] = {
 	},
 	{}
 };
+MODULE_DEVICE_TABLE(of, brcmstb_memc_of_match);
 
 static int brcmstb_memc_suspend(struct device *dev)
 {
-- 
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] 6+ messages in thread

* Re: [PATCH] memory: brcmstb_memc: fix module autoloading
  2024-04-10 17:02 ` Krzysztof Kozlowski
@ 2024-04-10 17:18   ` Florian Fainelli
  -1 siblings, 0 replies; 6+ messages in thread
From: Florian Fainelli @ 2024-04-10 17:18 UTC (permalink / raw
  To: Krzysztof Kozlowski, Broadcom internal kernel review list,
	linux-kernel, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]



On 4/10/2024 10:02 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>

Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>

Thanks!
-- 
Florian

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

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

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


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



On 4/10/2024 10:02 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>

Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>

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] 6+ messages in thread

* Re: [PATCH] memory: brcmstb_memc: fix module autoloading
  2024-04-10 17:02 ` Krzysztof Kozlowski
@ 2024-04-11  6:23   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-11  6:23 UTC (permalink / raw
  To: Florian Fainelli, Broadcom internal kernel review list,
	linux-kernel, linux-arm-kernel, Krzysztof Kozlowski


On Wed, 10 Apr 2024 19:02:41 +0200, Krzysztof Kozlowski wrote:
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.
> 
> 

Applied, thanks!

[1/1] memory: brcmstb_memc: fix module autoloading
      https://git.kernel.org/krzk/linux-mem-ctrl/c/7a40c60c8acb71eb2b5196b0e675ba9e58af1b69

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


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

* Re: [PATCH] memory: brcmstb_memc: fix module autoloading
@ 2024-04-11  6:23   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-11  6:23 UTC (permalink / raw
  To: Florian Fainelli, Broadcom internal kernel review list,
	linux-kernel, linux-arm-kernel, Krzysztof Kozlowski


On Wed, 10 Apr 2024 19:02:41 +0200, Krzysztof Kozlowski wrote:
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.
> 
> 

Applied, thanks!

[1/1] memory: brcmstb_memc: fix module autoloading
      https://git.kernel.org/krzk/linux-mem-ctrl/c/7a40c60c8acb71eb2b5196b0e675ba9e58af1b69

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


_______________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2024-04-11  6:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10 17:02 [PATCH] memory: brcmstb_memc: fix module autoloading Krzysztof Kozlowski
2024-04-10 17:02 ` Krzysztof Kozlowski
2024-04-10 17:18 ` Florian Fainelli
2024-04-10 17:18   ` Florian Fainelli
2024-04-11  6:23 ` Krzysztof Kozlowski
2024-04-11  6:23   ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.