All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
@ 2021-05-08  3:15 Bixuan Cui
  2021-05-19 23:00 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Bixuan Cui @ 2021-05-08  3:15 UTC (permalink / raw)
  To: cuibixuan, Linus Walleij; +Cc: linux-gpio, kernel-janitors

This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
---
 drivers/pinctrl/pinctrl-equilibrium.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-equilibrium.c b/drivers/pinctrl/pinctrl-equilibrium.c
index a194d8089b6f..38cc20fa9d5a 100644
--- a/drivers/pinctrl/pinctrl-equilibrium.c
+++ b/drivers/pinctrl/pinctrl-equilibrium.c
@@ -939,6 +939,7 @@ static const struct of_device_id eqbr_pinctrl_dt_match[] = {
 	{ .compatible = "intel,lgm-io" },
 	{}
 };
+MODULE_DEVICE_TABLE(of, eqbr_pinctrl_dt_match);
 
 static struct platform_driver eqbr_pinctrl_driver = {
 	.probe	= eqbr_pinctrl_probe,


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

* Re: [PATCH -next] pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
  2021-05-08  3:15 [PATCH -next] pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE Bixuan Cui
@ 2021-05-19 23:00 ` Linus Walleij
  2021-05-20  1:43   ` Bixuan Cui
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2021-05-19 23:00 UTC (permalink / raw)
  To: Bixuan Cui; +Cc: open list:GPIO SUBSYSTEM, kernel-janitors

On Sat, May 8, 2021 at 3:51 AM Bixuan Cui <cuibixuan@huawei.com> wrote:

> This patch adds missing MODULE_DEVICE_TABLE definition which generates
> correct modalias for automatic loading of this driver when it is built
> as an external module.
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>

Patch applied.

Yours,
Linus Walleij

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

* Re: [PATCH -next] pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
  2021-05-19 23:00 ` Linus Walleij
@ 2021-05-20  1:43   ` Bixuan Cui
  0 siblings, 0 replies; 3+ messages in thread
From: Bixuan Cui @ 2021-05-20  1:43 UTC (permalink / raw)
  To: Linus Walleij; +Cc: open list:GPIO SUBSYSTEM, kernel-janitors



On 2021/5/20 7:00, Linus Walleij wrote:
> Patch applied.
Thanks

Bixuan Cui
> 
> Yours,
> Linus Walleij

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

end of thread, other threads:[~2021-05-20  1:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08  3:15 [PATCH -next] pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE Bixuan Cui
2021-05-19 23:00 ` Linus Walleij
2021-05-20  1:43   ` Bixuan Cui

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.