linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] backlight: ktz8866: fix module autoloading
@ 2024-08-20 12:16 Liao Chen
  2024-08-21  1:32 ` Jianhua Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Liao Chen @ 2024-08-20 12:16 UTC (permalink / raw)
  To: linux-fbdev, dri-devel
  Cc: linux-kernel, lujianhua000, lee, daniel.thompson, jingoohan1,
	deller

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/video/backlight/ktz8866.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/backlight/ktz8866.c b/drivers/video/backlight/ktz8866.c
index 2e508741c0af..351c2b4d63ed 100644
--- a/drivers/video/backlight/ktz8866.c
+++ b/drivers/video/backlight/ktz8866.c
@@ -190,6 +190,7 @@ static const struct of_device_id ktz8866_match_table[] = {
 	},
 	{},
 };
+MODULE_DEVICE_TABLE(of, ktz8866_match_table);
 
 static struct i2c_driver ktz8866_driver = {
 	.driver = {
-- 
2.34.1


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

end of thread, other threads:[~2024-09-30 12:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20 12:16 [PATCH -next] backlight: ktz8866: fix module autoloading Liao Chen
2024-08-21  1:32 ` Jianhua Lu
2024-09-03 16:03 ` Daniel Thompson
2024-09-30 12:55 ` (subset) " Lee Jones

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