[PATCH -next] backlight: ktz8866: fix module autoloading

Jianhua Lu lujianhua000 at gmail.com
Wed Aug 21 01:32:57 UTC 2024


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 at gmail.com>


More information about the dri-devel mailing list