* [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
* Re: [PATCH -next] backlight: ktz8866: fix module autoloading
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
2 siblings, 0 replies; 4+ messages in thread
From: Jianhua Lu @ 2024-08-21 1:32 UTC (permalink / raw)
To: Liao Chen
Cc: linux-fbdev, dri-devel, linux-kernel, lee, daniel.thompson,
jingoohan1, deller
On Tue, Aug 20, 2024 at 12:16:28PM +0000, Liao Chen wrote:
> 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
>
Reviewed-by: Jianhua Lu <lujianhua000@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH -next] backlight: ktz8866: fix module autoloading
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
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Thompson @ 2024-09-03 16:03 UTC (permalink / raw)
To: Liao Chen
Cc: linux-fbdev, dri-devel, linux-kernel, lujianhua000, lee,
jingoohan1, deller
On Tue, Aug 20, 2024 at 12:16:28PM +0000, 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>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Daniel.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (subset) [PATCH -next] backlight: ktz8866: fix module autoloading
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 ` Lee Jones
2 siblings, 0 replies; 4+ messages in thread
From: Lee Jones @ 2024-09-30 12:55 UTC (permalink / raw)
To: linux-fbdev, dri-devel, Liao Chen
Cc: linux-kernel, lujianhua000, lee, daniel.thompson, jingoohan1,
deller
On Tue, 20 Aug 2024 12:16:28 +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] backlight: ktz8866: fix module autoloading
commit: 2d3553b76ecaf23c98f3070a2db8d08906be37b8
--
Lee Jones [李琼斯]
^ permalink raw reply [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).