backlight: ktz8866: fix module autoloading
PATCH 1/1 backlight: ktz8866: fix module autoloading
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table.
Signed-off-by Liao Chen <[email protected]>
--- drivers/video/backlight/ktz8866.c | 1 + 1 file changed, 1 insertion(+)
drivers/video/backlight/ktz8866.c +1 -0
@@ -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 = {
Signature · 1 line
2.34.1
Quoted 15 lines · Liao Chen
drivers/video/backlight/ktz8866.c +1
-0@@ -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 = {Signature · 1 line
2.34.1
Reviewed-by Jianhua Lu <[email protected]>
Quoted 4 lines · Liao Chen
Add
MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias fromof_device_idtable.Signed-off-by Liao Chen <[email protected]>
Reviewed-by Daniel Thompson <[email protected]>
Daniel.
Re: (subset) [PATCH -next] backlight: ktz8866: fix module autoloading
In reply to Liao ChenQuoted 4 lines · Liao Chen
Add
MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias fromof_device_idtable.
Applied, thanks!
[1/1] backlight: ktz8866: fix module autoloading
commit: 2d3553b76ecaf23c98f3070a2db8d08906be37b8
--
Lee Jones [李琼斯]