* [PATCH -next] pinctrl: pinctrl-zynq: fix module autoloading
@ 2024-08-14 3:01 Liao Chen
2024-08-19 12:22 ` liaochen (A)
2024-08-24 14:31 ` Linus Walleij
0 siblings, 2 replies; 3+ messages in thread
From: Liao Chen @ 2024-08-14 3:01 UTC (permalink / raw)
To: linux-arm-kernel, linux-gpio; +Cc: linux-kernel, linus.walleij, michal.simek
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/pinctrl/pinctrl-zynq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c
index 0e8de27d0de8..caa8a2ca3e68 100644
--- a/drivers/pinctrl/pinctrl-zynq.c
+++ b/drivers/pinctrl/pinctrl-zynq.c
@@ -1202,6 +1202,7 @@ static const struct of_device_id zynq_pinctrl_of_match[] = {
{ .compatible = "xlnx,pinctrl-zynq" },
{ }
};
+MODULE_DEVICE_TABLE(of, zynq_pinctrl_of_match);
static struct platform_driver zynq_pinctrl_driver = {
.driver = {
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] pinctrl: pinctrl-zynq: fix module autoloading
2024-08-14 3:01 [PATCH -next] pinctrl: pinctrl-zynq: fix module autoloading Liao Chen
@ 2024-08-19 12:22 ` liaochen (A)
2024-08-24 14:31 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: liaochen (A) @ 2024-08-19 12:22 UTC (permalink / raw)
To: linux-arm-kernel, linux-gpio; +Cc: linux-kernel, linus.walleij, michal.simek
On 2024/8/14 11:01, 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/pinctrl/pinctrl-zynq.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c
> index 0e8de27d0de8..caa8a2ca3e68 100644
> --- a/drivers/pinctrl/pinctrl-zynq.c
> +++ b/drivers/pinctrl/pinctrl-zynq.c
> @@ -1202,6 +1202,7 @@ static const struct of_device_id zynq_pinctrl_of_match[] = {
> { .compatible = "xlnx,pinctrl-zynq" },
> { }
> };
> +MODULE_DEVICE_TABLE(of, zynq_pinctrl_of_match);
>
> static struct platform_driver zynq_pinctrl_driver = {
> .driver = {
Gentle ping
Thanks,
Chen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] pinctrl: pinctrl-zynq: fix module autoloading
2024-08-14 3:01 [PATCH -next] pinctrl: pinctrl-zynq: fix module autoloading Liao Chen
2024-08-19 12:22 ` liaochen (A)
@ 2024-08-24 14:31 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2024-08-24 14:31 UTC (permalink / raw)
To: Liao Chen; +Cc: linux-arm-kernel, linux-gpio, linux-kernel, michal.simek
On Wed, Aug 14, 2024 at 5:09 AM Liao Chen <liaochen4@huawei.com> 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>
Patch applied!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-24 14:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14 3:01 [PATCH -next] pinctrl: pinctrl-zynq: fix module autoloading Liao Chen
2024-08-19 12:22 ` liaochen (A)
2024-08-24 14:31 ` Linus Walleij
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).