* [PATCH -next] i3c: master: cdns: fix module autoloading
@ 2024-08-26 12:39 Liao Chen
2024-08-29 6:39 ` Mukesh Kumar Savaliya
2024-09-05 16:46 ` Alexandre Belloni
0 siblings, 2 replies; 3+ messages in thread
From: Liao Chen @ 2024-08-26 12:39 UTC (permalink / raw)
To: linux-i3c, linux-kernel; +Cc: pgaj, alexandre.belloni
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/i3c/master/i3c-master-cdns.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i3c/master/i3c-master-cdns.c b/drivers/i3c/master/i3c-master-cdns.c
index c1627f3552ce..ee555255f1a2 100644
--- a/drivers/i3c/master/i3c-master-cdns.c
+++ b/drivers/i3c/master/i3c-master-cdns.c
@@ -1562,6 +1562,7 @@ static const struct of_device_id cdns_i3c_master_of_ids[] = {
{ .compatible = "cdns,i3c-master", .data = &cdns_i3c_devdata },
{ /* sentinel */ },
};
+MODULE_DEVICE_TABLE(of, cdns_i3c_master_of_ids);
static int cdns_i3c_master_probe(struct platform_device *pdev)
{
--
2.34.1
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH -next] i3c: master: cdns: fix module autoloading
2024-08-26 12:39 [PATCH -next] i3c: master: cdns: fix module autoloading Liao Chen
@ 2024-08-29 6:39 ` Mukesh Kumar Savaliya
2024-09-05 16:46 ` Alexandre Belloni
1 sibling, 0 replies; 3+ messages in thread
From: Mukesh Kumar Savaliya @ 2024-08-29 6:39 UTC (permalink / raw)
To: Liao Chen, linux-i3c, linux-kernel; +Cc: pgaj, alexandre.belloni
On 8/26/2024 6:09 PM, 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>
> ---
> drivers/i3c/master/i3c-master-cdns.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/i3c/master/i3c-master-cdns.c b/drivers/i3c/master/i3c-master-cdns.c
> index c1627f3552ce..ee555255f1a2 100644
> --- a/drivers/i3c/master/i3c-master-cdns.c
> +++ b/drivers/i3c/master/i3c-master-cdns.c
> @@ -1562,6 +1562,7 @@ static const struct of_device_id cdns_i3c_master_of_ids[] = {
> { .compatible = "cdns,i3c-master", .data = &cdns_i3c_devdata },
> { /* sentinel */ },
> };
> +MODULE_DEVICE_TABLE(of, cdns_i3c_master_of_ids);
>
why not to use i3c as type instead of "of" ? Just curious, if it makes
sense.
> static int cdns_i3c_master_probe(struct platform_device *pdev)
> {
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH -next] i3c: master: cdns: fix module autoloading
2024-08-26 12:39 [PATCH -next] i3c: master: cdns: fix module autoloading Liao Chen
2024-08-29 6:39 ` Mukesh Kumar Savaliya
@ 2024-09-05 16:46 ` Alexandre Belloni
1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2024-09-05 16:46 UTC (permalink / raw)
To: linux-i3c, linux-kernel, Liao Chen; +Cc: pgaj
On Mon, 26 Aug 2024 12:39:57 +0000, Liao Chen wrote:
> Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
> based on the alias from of_device_id table.
>
>
Applied, thanks!
[1/1] i3c: master: cdns: fix module autoloading
https://git.kernel.org/abelloni/c/133f67bea5e0
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-05 16:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26 12:39 [PATCH -next] i3c: master: cdns: fix module autoloading Liao Chen
2024-08-29 6:39 ` Mukesh Kumar Savaliya
2024-09-05 16:46 ` Alexandre Belloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox