Fix the following build warning:
WARNING: modpost: missing MODULE_LICENSE() in drivers/gpu/drm/panel/panel-visionox-rm69299.o
see include/linux/module.h for more information
Signed-off-by: Jason Yan <[email protected]>
---
drivers/gpu/drm/panel/panel-visionox-rm69299.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/panel/panel-visionox-rm69299.c b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
index 25fe8b0bb040..ec279ffdbd94 100644
--- a/drivers/gpu/drm/panel/panel-visionox-rm69299.c
+++ b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
@@ -300,3 +300,4 @@ static struct mipi_dsi_driver visionox_rm69299_driver = {
module_mipi_dsi_driver(visionox_rm69299_driver);
MODULE_DESCRIPTION("Visionox RM69299 DSI Panel Driver");
+MODULE_LICENSE("GPL");
--
2.21.1
On 5/8/20 11:30 PM, Jason Yan wrote:
> Fix the following build warning:
>
> WARNING: modpost: missing MODULE_LICENSE() in drivers/gpu/drm/panel/panel-visionox-rm69299.o
> see include/linux/module.h for more information
>
> Signed-off-by: Jason Yan <[email protected]>
> ---
> drivers/gpu/drm/panel/panel-visionox-rm69299.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-visionox-rm69299.c b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
> index 25fe8b0bb040..ec279ffdbd94 100644
> --- a/drivers/gpu/drm/panel/panel-visionox-rm69299.c
> +++ b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
> @@ -300,3 +300,4 @@ static struct mipi_dsi_driver visionox_rm69299_driver = {
> module_mipi_dsi_driver(visionox_rm69299_driver);
>
> MODULE_DESCRIPTION("Visionox RM69299 DSI Panel Driver");
> +MODULE_LICENSE("GPL");
>
I sent a patch for this yesterday.
--
~Randy
在 2020/5/9 14:36, Randy Dunlap 写道:
> On 5/8/20 11:30 PM, Jason Yan wrote:
>> Fix the following build warning:
>>
>> WARNING: modpost: missing MODULE_LICENSE() in drivers/gpu/drm/panel/panel-visionox-rm69299.o
>> see include/linux/module.h for more information
>>
>> Signed-off-by: Jason Yan <[email protected]>
>> ---
>> drivers/gpu/drm/panel/panel-visionox-rm69299.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/panel/panel-visionox-rm69299.c b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
>> index 25fe8b0bb040..ec279ffdbd94 100644
>> --- a/drivers/gpu/drm/panel/panel-visionox-rm69299.c
>> +++ b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
>> @@ -300,3 +300,4 @@ static struct mipi_dsi_driver visionox_rm69299_driver = {
>> module_mipi_dsi_driver(visionox_rm69299_driver);
>>
>> MODULE_DESCRIPTION("Visionox RM69299 DSI Panel Driver");
>> +MODULE_LICENSE("GPL");
>>
>
> I sent a patch for this yesterday.
>
I'm sorry. Please ignore this one.
Thanks,
>