linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] drivers: gpu: add missing MODULE_DEVICE_TABLE in anx7625.c
@ 2021-06-16  3:44 Yu Jiahua
  2021-06-16 12:03 ` Robert Foss
  0 siblings, 1 reply; 2+ messages in thread
From: Yu Jiahua @ 2021-06-16  3:44 UTC (permalink / raw)
  To: a.hajda, narmstrong, robert.foss, Laurent.pinchart, jonas,
	jernej.skrabec, airlied, daniel
  Cc: xji, yujiahua1, hsinyi, sam, dri-devel, linux-kernel

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.

Signed-off-by: Yu Jiahua <yujiahua1@huawei.com>
---
 drivers/gpu/drm/bridge/analogix/anx7625.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c
index 65cc05982f82..beb01364af4d 100644
--- a/drivers/gpu/drm/bridge/analogix/anx7625.c
+++ b/drivers/gpu/drm/bridge/analogix/anx7625.c
@@ -1830,6 +1830,7 @@ static const struct of_device_id anx_match_table[] = {
 	{.compatible = "analogix,anx7625",},
 	{},
 };
+MODULE_DEVICE_TABLE(of, anx_match_table);
 
 static struct i2c_driver anx7625_driver = {
 	.driver = {
-- 
2.17.1


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

* Re: [PATCH -next] drivers: gpu: add missing MODULE_DEVICE_TABLE in anx7625.c
  2021-06-16  3:44 [PATCH -next] drivers: gpu: add missing MODULE_DEVICE_TABLE in anx7625.c Yu Jiahua
@ 2021-06-16 12:03 ` Robert Foss
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Foss @ 2021-06-16 12:03 UTC (permalink / raw)
  To: Yu Jiahua
  Cc: Andrzej Hajda, Neil Armstrong, Laurent Pinchart, Jonas Karlman,
	Jernej Skrabec, David Airlie, Daniel Vetter, Xin Ji,
	Hsin-Yi Wang, Sam Ravnborg, dri-devel, linux-kernel

Hey Yu,

Thank you for submitting this, it looks good to me and I pulled into
drm-misc-next.

https://cgit.freedesktop.org/drm/drm-misc/commit/?id=ad5fd900a69b1ae24e6b22506dea637b6bbbdb55

On Wed, 16 Jun 2021 at 05:44, Yu Jiahua <yujiahua1@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.
>
> Signed-off-by: Yu Jiahua <yujiahua1@huawei.com>
> ---
>  drivers/gpu/drm/bridge/analogix/anx7625.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c
> index 65cc05982f82..beb01364af4d 100644
> --- a/drivers/gpu/drm/bridge/analogix/anx7625.c
> +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c
> @@ -1830,6 +1830,7 @@ static const struct of_device_id anx_match_table[] = {
>         {.compatible = "analogix,anx7625",},
>         {},
>  };
> +MODULE_DEVICE_TABLE(of, anx_match_table);
>
>  static struct i2c_driver anx7625_driver = {
>         .driver = {
> --
> 2.17.1
>

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

end of thread, other threads:[~2021-06-16 12:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16  3:44 [PATCH -next] drivers: gpu: add missing MODULE_DEVICE_TABLE in anx7625.c Yu Jiahua
2021-06-16 12:03 ` Robert Foss

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