mirror of
https://github.com/torvalds/linux.git
synced 2025-04-12 06:49:52 +00:00
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 <liaochen4@huawei.com> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Jianhua Lu <lujianhua000@gmail.com> Link: https://lore.kernel.org/r/20240820121628.42321-1-liaochen4@huawei.com Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
9b21671724
commit
1a2dc9bf3b
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user